mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 14:15:46 +01:00
OSX gcc does not support local-typedef warning
This commit is contained in:
parent
3a7652200d
commit
2bdf9e447f
1 changed files with 3 additions and 1 deletions
4
wscript
4
wscript
|
|
@ -385,7 +385,9 @@ def set_compiler_flags (conf,opt):
|
||||||
('-Wall', '-Wpointer-arith', '-Wcast-qual', '-Wcast-align', '-Wno-unused-parameter'))
|
('-Wall', '-Wpointer-arith', '-Wcast-qual', '-Wcast-align', '-Wno-unused-parameter'))
|
||||||
|
|
||||||
c_flags.extend(('-Wstrict-prototypes', '-Wmissing-prototypes'))
|
c_flags.extend(('-Wstrict-prototypes', '-Wmissing-prototypes'))
|
||||||
cxx_flags.extend(('-Woverloaded-virtual', '-Wno-unused-local-typedefs'))
|
cxx_flags.append('-Woverloaded-virtual')
|
||||||
|
if (not is_clang and not platform == "darwin"):
|
||||||
|
cxx_flags.extend('-Wno-unused-local-typedefs')
|
||||||
|
|
||||||
#
|
#
|
||||||
# more boilerplate
|
# more boilerplate
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue