diff options
author | David Robillard <d@drobilla.net> | 2020-09-27 13:11:27 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-09-27 13:11:56 +0200 |
commit | 049a74554f0e09fe2f0327fbd2b78f4b474d0310 (patch) | |
tree | 83c977a75168ff292b1c3bcaa632a42737ca7c7a /wscript | |
parent | 1af6bef4d6aa06437edb9ba5514deacb21a86c74 (diff) | |
download | sord-049a74554f0e09fe2f0327fbd2b78f4b474d0310.tar.gz sord-049a74554f0e09fe2f0327fbd2b78f4b474d0310.tar.bz2 sord-049a74554f0e09fe2f0327fbd2b78f4b474d0310.zip |
Suppress warnings in ultra-strict release builds
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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', |