← All tasks
cppgoogle/benchmark #1460Not a task: not reproduced

[BUG] requirement of C++11 is incompatible with Google Test

envgap__google__benchmark-1460

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

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

03 / ORIGINAL ISSUE TEXT

google/benchmark #1460 · read the original issue
Google Benchmark insists on being compiled with the standard not exceeding C++11

https://github.com/google/benchmark/blob/974cd5a5c5a78e76ebc50961f4dbf3bf6d4ade4e/CMakeLists.txt#L174



At the same time, Google Benchmark requires Google Test, which is incompatible with C++11 

https://github.com/google/googletest/blob/5b909beeec178f338be997830b6c31a80cda7a93/googletest/include/gtest/internal/gtest-internal.h#L635

```

  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;

```

`std::less` without template parameters doesn't compile in C++11.
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
[]