aboutsummaryrefslogtreecommitdiffstats
path: root/meson/warnings
diff options
context:
space:
mode:
Diffstat (limited to 'meson/warnings')
-rw-r--r--meson/warnings/meson.build20
1 files changed, 0 insertions, 20 deletions
diff --git a/meson/warnings/meson.build b/meson/warnings/meson.build
index 80d57749..c0e523b9 100644
--- a/meson/warnings/meson.build
+++ b/meson/warnings/meson.build
@@ -61,40 +61,30 @@ gcc_common_warnings = [
'-Wattribute-alias=2',
'-Wbidi-chars=ucn',
'-Wcast-align=strict',
- '-Wcast-function-type',
'-Wcast-qual',
- '-Wclobbered',
'-Wconversion',
'-Wdate-time',
'-Wdisabled-optimization',
'-Wdouble-promotion',
'-Wduplicated-branches',
'-Wduplicated-cond',
- '-Wempty-body',
- '-Wendif-labels',
'-Wfloat-equal',
'-Wformat-overflow=2',
'-Wformat-signedness',
'-Wformat-truncation=2',
'-Wformat=2',
- '-Wignored-qualifiers',
- '-Wimplicit-fallthrough=3',
'-Winit-self',
'-Winline',
'-Winvalid-pch',
'-Wlogical-op',
'-Wmissing-declarations',
- '-Wmissing-field-initializers',
'-Wmissing-include-dirs',
'-Wmultichar',
'-Wnormalized=nfc',
'-Wnull-dereference',
'-Wopenacc-parallelism',
- '-Woverlength-strings',
'-Wpacked',
- '-Wpacked-bitfield-compat',
'-Wpadded',
- '-Wpointer-arith',
'-Wredundant-decls',
'-Wshadow',
'-Wshift-negative-value',
@@ -102,7 +92,6 @@ gcc_common_warnings = [
'-Wstack-protector',
'-Wstrict-aliasing=3',
'-Wstrict-overflow=5',
- '-Wstring-compare',
'-Wstringop-overflow=3',
'-Wsuggest-attribute=cold',
'-Wsuggest-attribute=const',
@@ -114,11 +103,9 @@ gcc_common_warnings = [
'-Wswitch-enum',
'-Wtrampolines',
'-Wtrivial-auto-var-init',
- '-Wtype-limits',
'-Wundef',
'-Wuninitialized',
'-Wunsafe-loop-optimizations',
- '-Wunused',
'-Wunused-const-variable=2',
'-Wunused-macros',
'-Wvector-operation-performance',
@@ -145,18 +132,11 @@ if is_variable('cc')
elif cc.get_id() == 'gcc'
all_c_warnings += gcc_common_warnings + [
- '-Wabsolute-value',
'-Wbad-function-cast',
'-Wc++-compat',
- '-Wenum-conversion',
- '-Wjump-misses-init',
- '-Wmissing-parameter-type',
'-Wmissing-prototypes',
'-Wnested-externs',
- '-Wold-style-declaration',
'-Wold-style-definition',
- '-Woverride-init',
- '-Wsign-compare',
'-Wstrict-prototypes',
'-Wunsuffixed-float-constants',
]