From 3ebd97c4482400e29c23a8205616fe101bf537f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 21 Aug 2020 17:17:49 +0200 Subject: [PATCH] cmake: disable -Wno-maybe-uninitialized. There can be false positives and therefore this is not working well together with -Werror option. --- cmake/compileroptions.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/compileroptions.cmake b/cmake/compileroptions.cmake index 8e523a704..829ce3a6d 100644 --- a/cmake/compileroptions.cmake +++ b/cmake/compileroptions.cmake @@ -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)