aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-12-31 11:48:42 -0500
committerDavid Robillard <d@drobilla.net>2020-10-27 13:13:58 +0100
commit1997ab63fb66a55341de0311e1b309419a32d724 (patch)
treed1513d326679ec79b01ab4b0e6cee310c721514b /wscript
parent60bb4a81c03d6b0a08f9c858ff1a99bf3bcc602e (diff)
downloadserd-1997ab63fb66a55341de0311e1b309419a32d724.tar.gz
serd-1997ab63fb66a55341de0311e1b309419a32d724.tar.bz2
serd-1997ab63fb66a55341de0311e1b309419a32d724.zip
Fix various warnings and conversion issues
Diffstat (limited to 'wscript')
-rw-r--r--wscript10
1 files changed, 0 insertions, 10 deletions
diff --git a/wscript b/wscript
index 22665436..b089e627 100644
--- a/wscript
+++ b/wscript
@@ -56,7 +56,6 @@ def configure(conf):
autowaf.add_compiler_flags(conf.env, '*', {
'clang': [
'-Wno-cast-align',
- '-Wno-cast-qual',
'-Wno-covered-switch-default',
'-Wno-disabled-macro-expansion',
'-Wno-double-promotion',
@@ -64,23 +63,14 @@ def configure(conf):
'-Wno-implicit-fallthrough',
'-Wno-padded',
'-Wno-reserved-id-macro',
- '-Wno-sign-conversion',
],
'gcc': [
'-Wno-cast-align',
- '-Wno-cast-qual',
- '-Wno-float-conversion',
- '-Wno-inline',
'-Wno-padded',
- '-Wno-sign-conversion',
- '-Wno-suggest-attribute=const',
- '-Wno-suggest-attribute=malloc',
- '-Wno-suggest-attribute=pure',
],
'msvc': [
'/wd4061', # enumerator in switch is not explicitly handled
'/wd4200', # nonstandard: zero-sized array in struct/union
- '/wd4365', # signed/unsigned mismatch
'/wd4514', # unreferenced inline function has been removed
'/wd4710', # function not inlined
'/wd4711', # function selected for automatic inline expansion