mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-25 01:01:58 -05:00
Try different negation style
This commit is contained in:
parent
192a2b505c
commit
d0b0eac187
@ -132,8 +132,8 @@ else()
|
||||
>
|
||||
$<$<BOOL:${CMAKE_CXX_STANDARD}>:
|
||||
$<$<EQUAL:${CMAKE_CXX_STANDARD},20>:
|
||||
-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
|
||||
$<$<NOT:$<AND:$<BOOL:${CMAKE_CXX_STANDARD}>, $<EQUAL:${CMAKE_CXX_STANDARD},20>>>:
|
||||
-Wsign-conversion # happens to trigger on googletest
|
||||
-Wsign-conversion
|
||||
$<$<BOOL:${CMAKE_CXX_STANDARD}>: # happens to trigger on googletest
|
||||
$<$<EQUAL:${CMAKE_CXX_STANDARD},20>:
|
||||
-Wno-sign-conversion # happens to trigger on googletest
|
||||
>
|
||||
>
|
||||
$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:
|
||||
-Weverything
|
||||
|
Loading…
Reference in New Issue
Block a user