From d0b0eac1878a87032ab41008642b04cbc7ffa3fb Mon Sep 17 00:00:00 2001 From: Dmitry Kobets Date: Wed, 1 Dec 2021 09:43:22 -0800 Subject: [PATCH] Try different negation style --- tests/CMakeLists.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index f37bef5..dbd36d3 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -132,8 +132,8 @@ else() > $<$: $<$: - -Wzero-as-null-pointer-constant- # Very noisy, minor, and just so - -Wsign-conversion- # happens to trigger on googletest + -Wno-zero-as-null-pointer-constant # Very noisy, minor, and just so + -Wno-sign-conversion # happens to trigger on googletest > > > @@ -237,8 +237,11 @@ else() -Wextra -Wpedantic -Wshadow - $<$, $>>: - -Wsign-conversion # happens to trigger on googletest + -Wsign-conversion + $<$: # happens to trigger on googletest + $<$: + -Wno-sign-conversion # happens to trigger on googletest + > > $<$,$>: -Weverything