diff options
author | David Robillard <d@drobilla.net> | 2020-07-05 15:01:15 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-05 18:47:39 +0200 |
commit | 80838668aea1b53cc4438a63bb9f0fcab80cd3f7 (patch) | |
tree | 07b6cb1c0273e508985a84e1795125558810cfa6 | |
parent | 98f8d255a8aeece754dcda389aafb75572e8edb8 (diff) |
Update autowaf
m--------- | waflib | 0 | ||||
-rw-r--r-- | wscript | 13 |
2 files changed, 5 insertions, 8 deletions
diff --git a/waflib b/waflib -Subproject 158a547ad7b9a01f991d2c378e17f704a99c658 +Subproject f773f9a6a1ace4e3ddda5db05db4fa49bd0173a @@ -65,7 +65,7 @@ def configure(conf): if Options.options.ultra_strict: # All warnings enabled by autowaf, disable some we trigger - conf.add_compiler_flags('*', { + autowaf.add_compiler_flags(conf.env, '*', { 'clang': [ '-Wno-padded', '-Wno-reserved-id-macro', @@ -73,7 +73,6 @@ def configure(conf): ], 'gcc': [ '-Wno-padded', - '-Wno-switch-default', '-Wno-switch-enum', ], 'msvc': [ @@ -84,7 +83,7 @@ def configure(conf): ], }) - conf.add_compiler_flags('c', { + autowaf.add_compiler_flags(conf.env, 'c', { 'clang': [ '-Wno-bad-function-cast', '-Wno-float-equal', @@ -102,10 +101,8 @@ def configure(conf): ], }) - conf.add_compiler_flags('cxx', { + autowaf.add_compiler_flags(conf.env, 'cxx', { 'clang': [ - '-Wno-c++98-compat', - '-Wno-c++98-compat-pedantic', '-Wno-documentation-unknown-command', '-Wno-old-style-cast', ], @@ -124,14 +121,14 @@ def configure(conf): # Add some platform-specific warning suppressions if conf.env.TARGET_PLATFORM == "win32": - conf.add_compiler_flags('*', { + autowaf.add_compiler_flags(conf.env, '*', { 'gcc': ['-Wno-cast-function-type', '-Wno-conversion', '-Wno-format', '-Wno-suggest-attribute=format'], }) elif conf.env.TARGET_PLATFORM == 'darwin': - conf.add_compiler_flags('*', { + autowaf.add_compiler_flags(conf.env, '*', { 'clang': ['-DGL_SILENCE_DEPRECATION', '-Wno-deprecated-declarations', '-Wno-direct-ivar-access'], |