aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-06-29 18:15:28 +0200
committerDavid Robillard <d@drobilla.net>2019-06-29 18:15:28 +0200
commitd34e0eb19db33b32644544207bd38908c8e35f68 (patch)
tree59f75ae37b1b9171d50cde6dc86bbbb161dd94a1 /wscript
parentb81dbe03ac16e4c5ccf3bcfd6795f476299a3852 (diff)
downloadpugl-d34e0eb19db33b32644544207bd38908c8e35f68.tar.gz
pugl-d34e0eb19db33b32644544207bd38908c8e35f68.tar.bz2
pugl-d34e0eb19db33b32644544207bd38908c8e35f68.zip
Fix various warnings
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/wscript b/wscript
index 6a8a7d1..31e59ac 100644
--- a/wscript
+++ b/wscript
@@ -42,6 +42,8 @@ def configure(conf):
if conf.env.TARGET_PLATFORM == 'win32':
conf.load('compiler_cxx', cache=True)
+ if conf.env.MSVC_COMPILER:
+ conf.env.append_unique('CXXFLAGS', ['/wd4191'])
elif conf.env.TARGET_PLATFORM == 'darwin':
conf.env.append_unique('CFLAGS', ['-Wno-deprecated-declarations'])