Disable -Wmaybe-uninitialized in GCC since it gives a ton of false-positives
This commit is contained in:
parent
9995f38ab0
commit
613bb3e83f
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ endif()
|
|||
|
||||
set(PSEMEK_CXX_FLAGS)
|
||||
if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR (CMAKE_CXX_COMPILER_ID STREQUAL "Clang"))
|
||||
list(APPEND PSEMEK_CXX_FLAGS -Wall -Werror -Wextra -pedantic -Wno-narrowing -Wno-sign-compare)
|
||||
list(APPEND PSEMEK_CXX_FLAGS -Wall -Werror -Wextra -pedantic -Wno-narrowing -Wno-sign-compare -Wno-maybe-uninitialized)
|
||||
endif()
|
||||
|
||||
option(PSEMEK_ASAN "Turn on Address Sanitizer" OFF)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue