From 049a74554f0e09fe2f0327fbd2b78f4b474d0310 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 27 Sep 2020 13:11:27 +0200 Subject: Suppress warnings in ultra-strict release builds --- wscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index b02a167..d84a96b 100644 --- a/wscript +++ b/wscript @@ -62,17 +62,22 @@ def configure(conf): if Options.options.ultra_strict: autowaf.add_compiler_flags(conf.env, '*', { 'gcc': [ + '-Wno-cast-align', '-Wno-cast-qual', '-Wno-conversion', + '-Wno-inline', '-Wno-padded', '-Wno-sign-conversion', '-Wno-stack-protector', + '-Wno-suggest-attribute=const', + '-Wno-suggest-attribute=pure', '-Wno-switch-enum', '-Wno-unused-macros', '-Wno-unused-parameter', '-Wno-vla', ], 'clang': [ + '-Wno-cast-align', '-Wno-cast-qual', '-Wno-extra-semi-stmt', '-Wno-format-nonliteral', -- cgit v1.2.1