Skip to content

Commit 3ebd97c

Browse files
committed
cmake: disable -Wno-maybe-uninitialized. There can be false positives and therefore this is not working well together with -Werror option.
1 parent 27e40af commit 3ebd97c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmake/compileroptions.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
2828
add_compile_options(-Wno-missing-braces)
2929
add_compile_options(-Wno-sign-compare)
3030
add_compile_options(-Wno-multichar)
31+
add_compile_options(-Wno-maybe-uninitialized) # there are some false positives
3132
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
3233

3334
add_compile_options(-Wno-deprecated-declarations)

0 commit comments

Comments
 (0)