diff options
author | David Robillard <d@drobilla.net> | 2019-04-21 23:28:08 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-21 23:28:08 +0200 |
commit | bcf38cbe05887cd4d3a15e20a3539ae4b30a4e7b (patch) | |
tree | 4896ae7d38315b9e0d63f23258d4046e40e3e740 | |
parent | 4be819c27f627d0fad0f63cb5817bfca8460541a (diff) | |
download | lv2-bcf38cbe05887cd4d3a15e20a3539ae4b30a4e7b.tar.xz |
Don't add -Wconversion flag with MSVC
-rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ def configure(conf): conf.load('autowaf', cache=True) autowaf.set_c_lang(conf, 'c99') - if Options.options.ultra_strict: + if Options.options.ultra_strict and not conf.env.MSVC_COMPILER: conf.env.append_value('CFLAGS', ['-Wconversion']) if conf.env.DEST_OS == 'win32' or not hasattr(os.path, 'relpath'): |