Clang's default dialect has changed to -std=gnu++14 in r320250. Some of the SPEC benchmarks do not compile with this change. Set the language version to C++ 98 (the previous default) explicitly for these benchmarks.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
test-suite/trunk/External/SPEC/CINT2006/473.astar/CMakeLists.txt | ||
---|---|---|
1 | Should this be c++03 instead? |
test-suite/trunk/External/SPEC/CINT2006/473.astar/CMakeLists.txt | ||
---|---|---|
1 | It's what some internal scripts of ours use. Unfortunately, none of us could recall why C++03 was chosen. Digging the SPEC CPU2006 distro, it seems that it was released with example configuration files supporting GCC versions like 4.1 and 4.3, which only supported C++98. So, I agree with your choice. |
Should this be c++03 instead?