-Wno-unused-result.
authorCarl Hetherington <cth@carlh.net>
Wed, 8 Oct 2014 08:53:47 +0000 (09:53 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 8 Oct 2014 08:53:47 +0000 (09:53 +0100)
wscript

diff --git a/wscript b/wscript
index e06cb53f292a8c71a66588f5ccad79336bd8ba52..4ce99ca717ea451fc4ef4fd751291f5e676977d0 100644 (file)
--- a/wscript
+++ b/wscript
@@ -182,7 +182,7 @@ def configure(conf):
 
     # Common CXXFLAGS
     conf.env.append_value('CXXFLAGS', ['-D__STDC_CONSTANT_MACROS', '-D__STDC_LIMIT_MACROS', '-msse', '-ffast-math', '-fno-strict-aliasing',
-                                       '-Wall', '-Wno-attributes', '-Wextra', '-D_FILE_OFFSET_BITS=64'])
+                                       '-Wall', '-Wno-attributes', '-Wextra', '-Wno-unused-result', '-D_FILE_OFFSET_BITS=64'])
 
     if conf.options.enable_debug:
         conf.env.append_value('CXXFLAGS', ['-g', '-DDCPOMATIC_DEBUG'])