← All tasks
cppsimdjson/simdjson #2645Not a task: already works

Header precompilation requires <bit>

envgap__simdjson__simdjson-2645

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
844e5eac23017c0dbc59154cb2a853cda9d0d4dd
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

simdjson/simdjson #2645 · read the original issue
Header precompilation requires <bit> header, which is C++20: 

https://github.com/simdjson/simdjson/blob/844e5eac23017c0dbc59154cb2a853cda9d0d4dd/CMakeLists.txt#L96-L114

This leads to build failures on older g++ without the header file.

The [README.md](https://github.com/simdjson/simdjson/blob/master/README.md#quick-start) and [basics.md](https://github.com/simdjson/simdjson/blob/master/doc/basics.md#requirements) mentions g++ 7 / 7.4 or better. I wonder if this only applies when you use the single .h and .cpp file, while c++20 is intended as a requirement when using CMake.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]