mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 20:05:31 +00:00
Added '-Wno-c++2a-compat'
This commit is contained in:
parent
47616ca781
commit
e9d73c48ca
@ -36,6 +36,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang"
|
|||||||
-Wno-switch-enum
|
-Wno-switch-enum
|
||||||
-Wno-missing-noreturn
|
-Wno-missing-noreturn
|
||||||
-Wno-covered-switch-default
|
-Wno-covered-switch-default
|
||||||
|
-Wno-c++2a-compat
|
||||||
)
|
)
|
||||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
set(warning_options -Wall -Wpedantic -Wextra)
|
set(warning_options -Wall -Wpedantic -Wextra)
|
||||||
|
Loading…
Reference in New Issue
Block a user