diff options
author | Lukas Rusak <lorusak@gmail.com> | 2021-05-01 09:13:23 -0700 |
---|---|---|
committer | Lukas Rusak <lorusak@gmail.com> | 2021-05-18 08:29:59 -0700 |
commit | 084e877f69d02c977d4f69e73f267d2582fb49b4 (patch) | |
tree | cb04a50d6adc88a4499c6b9ff258c116bb7838a4 /cmake/scripts/common | |
parent | 7abaaa5933cd45d93ee7495667eccbf32dff1c8b (diff) |
[cmake] enable warning -Wmissing-field-initializers
Diffstat (limited to 'cmake/scripts/common')
-rw-r--r-- | cmake/scripts/common/ArchSetup.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/common/ArchSetup.cmake b/cmake/scripts/common/ArchSetup.cmake index 6fdeed81d2..78b4b3a181 100644 --- a/cmake/scripts/common/ArchSetup.cmake +++ b/cmake/scripts/common/ArchSetup.cmake @@ -155,7 +155,7 @@ if(PLATFORM_DEFINES) endif() if(NOT MSVC) - add_options(ALL_LANGUAGES ALL_BUILDS "-Wall" "-Wdouble-promotion") + add_options(ALL_LANGUAGES ALL_BUILDS "-Wall" "-Wdouble-promotion" "-Wmissing-field-initializers") add_options(ALL_LANGUAGES DEBUG "-g" "-D_DEBUG") endif() |