diff options
author | dmitrykobets-msft <89153909+dmitrykobets-msft@users.noreply.github.com> | 2021-12-10 22:17:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-10 22:17:47 +0300 |
commit | c412deb31e73c9b824abeb6619e11511b279222f (patch) | |
tree | 7fa050d182c6ddf048b37ea82e81887a0b5db9ab /tests | |
parent | bcf008ae5578fab638e6d30b7ca000f306b14d3b (diff) |
Update compiler support (#1019)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index dd71105..cab4e56 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -139,10 +139,10 @@ else() $<$<AND:$<VERSION_GREATER:$<CXX_COMPILER_VERSION>,4.99>,$<VERSION_LESS:$<CXX_COMPILER_VERSION>,6>>: $<$<EQUAL:${GSL_CXX_STANDARD},17>:-Wno-undefined-func-template> > - $<$<AND:$<EQUAL:${GSL_CXX_STANDARD},20>,$<CXX_COMPILER_VERSION:11.0.0>>: - -Wno-zero-as-null-pointer-constant # failing Clang Ubuntu 20.04 tests, seems to be a bug with clang 11.0.0 - # (operator< is being re-written by the compiler as operator<=> and - # raising the warning) + $<$<AND:$<EQUAL:${GSL_CXX_STANDARD},20>,$<OR:$<CXX_COMPILER_VERSION:11.0.0>,$<CXX_COMPILER_VERSION:10.0.0>>>: + -Wno-zero-as-null-pointer-constant # failing Clang Ubuntu 20.04 tests, seems to be a bug with clang 10.0.0 + # and clang 11.0.0. (operator< is being re-written by the compiler + # as operator<=> and raising the warning) > > $<$<CXX_COMPILER_ID:AppleClang>: |