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:
parent
27e40af06c
commit
3ebd97c448
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue