[compiler-rt] [sanitizer-common] sanitizer_common unit tests should pass -std=c++17 (PR #161252)
Andrew Haberlandt via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 29 11:38:06 PDT 2025
ndrewh wrote:
OK, let's add the `-std=c++17` flag then. I don't know why we aren't passing the flag already given that CMAKE_CXX_STANDARD is 17 and CMAKE_CXX_STANDARD_REQUIRED is YES, but I'm not sure it's worth debugging the cmake over this. [Other tests](https://github.com/llvm/llvm-project/blob/0f70b440160fb92be3536d26d6d97f4c61de23bd/compiler-rt/lib/gwp_asan/tests/CMakeLists.txt#L7) also pass the flag.
https://github.com/llvm/llvm-project/pull/161252
More information about the llvm-commits
mailing list