From: Carl Hetherington Date: Wed, 18 Jul 2012 12:16:30 +0000 (+0100) Subject: Don't warn on unused results for now (for asdcplib). X-Git-Tag: v0.03~11 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=2da0b193c2d1f54e5aa0de7b80a8cf7ba5ab07ef;p=libdcp.git Don't warn on unused results for now (for asdcplib). --- diff --git a/wscript b/wscript index 77ec153a..c1538ceb 100644 --- a/wscript +++ b/wscript @@ -6,7 +6,7 @@ def options(opt): def configure(conf): conf.load('compiler_cxx') - conf.env.append_value('CXXFLAGS', ['-Wall', '-Werror', '-Wextra', '-O2', '-D_FILE_OFFSET_BITS=64']) + conf.env.append_value('CXXFLAGS', ['-Wall', '-Werror', '-Wextra', '-Wno-unused-result', '-O2', '-D_FILE_OFFSET_BITS=64']) conf.env.append_value('CXXFLAGS', ['-DLIBDCP_VERSION="%s"' % VERSION]) conf.check_cfg(package = 'openssl', args = '--cflags --libs', uselib_store = 'OPENSSL', mandatory = True)