aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-07-30 00:23:31 +0200
committerShauren <shauren.trinity@gmail.com>2023-07-30 00:23:31 +0200
commit0aa644287cf0e085f21a8ffdae6c6e985e64e961 (patch)
tree4f8162618b6c648325808dc6fbf0ba3292dae206 /cmake
parent1acaed2af4690d488365d9969d2c360bd8e7f233 (diff)
Build/GCC: Disable useless warning
Diffstat (limited to 'cmake')
-rw-r--r--cmake/compiler/gcc/settings.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/compiler/gcc/settings.cmake b/cmake/compiler/gcc/settings.cmake
index 6608190d1bf..6393146f329 100644
--- a/cmake/compiler/gcc/settings.cmake
+++ b/cmake/compiler/gcc/settings.cmake
@@ -35,7 +35,8 @@ if(WITH_WARNINGS)
-Winit-self
-Winvalid-pch
-Wfatal-errors
- -Woverloaded-virtual)
+ -Woverloaded-virtual
+ -Wno-missing-field-initializers) # this warning is useless when combined with structure members that have default initializers
message(STATUS "GCC: All warnings enabled")
endif()