diff options
Diffstat (limited to 'cmake/compiler/gcc/settings.cmake')
-rw-r--r-- | cmake/compiler/gcc/settings.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/compiler/gcc/settings.cmake b/cmake/compiler/gcc/settings.cmake index 3806ffee984..4861f48dccc 100644 --- a/cmake/compiler/gcc/settings.cmake +++ b/cmake/compiler/gcc/settings.cmake @@ -35,7 +35,8 @@ if(WITH_WARNINGS) -Winvalid-pch -Wfatal-errors -Woverloaded-virtual - -Wno-missing-field-initializers) # this warning is useless when combined with structure members that have default initializers + -Wno-missing-field-initializers # this warning is useless when combined with structure members that have default initializers + -Wno-maybe-uninitialized) # this warning causes many false positives with std::optional message(STATUS "GCC: All warnings enabled") endif() |