summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build28
1 files changed, 13 insertions, 15 deletions
diff --git a/meson.build b/meson.build
index 3f3693f9..f4ee14f1 100644
--- a/meson.build
+++ b/meson.build
@@ -51,21 +51,19 @@ cc_args = [
'-Wno-unused-parameter',
'-Wno-unused-result',
- '-Waddress',
- '-Warray-bounds',
- '-Wimplicit',
- '-Winit-self',
- '-Wint-to-pointer-cast',
- '-Wmain',
- '-Wmissing-braces',
- '-Wnonnull',
- '-Wpointer-to-int-cast',
- '-Wreturn-type',
- '-Wsequence-point',
- '-Wtrigraphs',
- '-Wwrite-strings',
-
- '-Werror',
+ '-Werror=address',
+ '-Werror=array-bounds',
+ '-Werror=implicit',
+ '-Werror=init-self',
+ '-Werror=int-to-pointer-cast',
+ '-Werror=main',
+ '-Werror=missing-braces',
+ '-Werror=nonnull',
+ '-Werror=pointer-to-int-cast',
+ '-Werror=return-type',
+ '-Werror=sequence-point',
+ '-Werror=trigraphs',
+ '-Werror=write-strings',
# Disable the memory allocating builtins as they may cause unexpected behavior
# with our framework. They *may* get optimized out in favor of a register or
# stack variable, making them effectively local. Local variables do not play