Also add suppression for noexcept tests

This commit is contained in:
Dmitry Kobets 2021-11-30 13:35:20 -08:00
parent 502fa7625f
commit c9c27e39d5

View File

@ -245,6 +245,12 @@ else()
-Wno-missing-prototypes -Wno-missing-prototypes
-Wno-unknown-attributes -Wno-unknown-attributes
-Wno-weak-vtables -Wno-weak-vtables
$<$<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
>
>
> >
$<$<CXX_COMPILER_ID:GNU>: $<$<CXX_COMPILER_ID:GNU>:
-Wdouble-promotion # float implicit to double -Wdouble-promotion # float implicit to double