cmake: disable -Wno-maybe-uninitialized. There can be false positives and therefore this is not working well together with -Werror option.

This commit is contained in:
Daniel Marjamäki 2020-08-21 17:17:49 +02:00
parent 27e40af06c
commit 3ebd97c448
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
add_compile_options(-Wno-missing-braces)
add_compile_options(-Wno-sign-compare)
add_compile_options(-Wno-multichar)
add_compile_options(-Wno-maybe-uninitialized) # there are some false positives
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wno-deprecated-declarations)