mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Suppress clang warning on tests (missing-prototypes) (#741)
This commit is contained in:
parent
100f2b9b55
commit
fd25cf8140
@ -60,6 +60,7 @@ target_compile_options(gsl_tests_config INTERFACE
|
|||||||
$<$<CXX_COMPILER_ID:Clang>:
|
$<$<CXX_COMPILER_ID:Clang>:
|
||||||
-Wno-c++98-compat
|
-Wno-c++98-compat
|
||||||
-Wno-c++98-compat-pedantic
|
-Wno-c++98-compat-pedantic
|
||||||
|
-Wno-missing-prototypes
|
||||||
-Wno-undef
|
-Wno-undef
|
||||||
>
|
>
|
||||||
)
|
)
|
||||||
@ -158,6 +159,7 @@ target_compile_options(gsl_tests_config_noexcept INTERFACE
|
|||||||
$<$<CXX_COMPILER_ID:Clang>:
|
$<$<CXX_COMPILER_ID:Clang>:
|
||||||
-Wno-c++98-compat
|
-Wno-c++98-compat
|
||||||
-Wno-c++98-compat-pedantic
|
-Wno-c++98-compat-pedantic
|
||||||
|
-Wno-missing-prototypes
|
||||||
-Wno-undef
|
-Wno-undef
|
||||||
>
|
>
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user