Added '-Wno-c++2a-compat'

This commit is contained in:
yhirose 2020-01-24 19:58:43 -05:00
parent 47616ca781
commit e9d73c48ca

View File

@ -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)