projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5f7f87
)
silence clang ‘unused include file/compiler flag’ warnings
author
Robin Gareus
<robin@gareus.org>
Thu, 23 Oct 2014 00:59:47 +0000
(
02:59
+0200)
committer
Robin Gareus
<robin@gareus.org>
Thu, 23 Oct 2014 01:43:04 +0000
(
03:43
+0200)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index 84792f461a9e12558241e2de3796b17953e683dd..d46a70e75ddabdd094e025f614bb0d60bbd73f82 100644
(file)
--- 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,