From e2c6eb0ba1948fa5b39216618f8e8d9fdbad30b0 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 23 Oct 2014 02:59:47 +0200 Subject: silence clang ‘unused include file/compiler flag’ warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 84792f461a..d46a70e75d 100644 --- a/wscript +++ b/wscript @@ -217,6 +217,8 @@ def set_compiler_flags (conf,opt): if conf.options.cxx11 or conf.env['build_host'] in [ 'mavericks', 'yosemite' ]: conf.check_cxx(cxxflags=["-std=c++11"]) cxx_flags.append('-std=c++11') + c_flags.append('-Qunused-arguments') + cxx_flags.append('-Qunused-arguments') if platform == "darwin": cxx_flags.append('--stdlib=libstdc++') # Mavericks and later changed the syntax to be used when including Carbon headers, -- cgit v1.2.3