Revert "Don't add non-clang flag regardless of platform."
Apple's g++ on 10.6. does not understand -Wno-unused-local-typedefs
either
This reverts commit 9dd8024e41
.
This commit is contained in:
parent
97981e9007
commit
421a1d9912
2
wscript
2
wscript
@ -394,7 +394,7 @@ int main() { return 0; }''',
|
||||
|
||||
c_flags.extend(('-Wstrict-prototypes', '-Wmissing-prototypes'))
|
||||
cxx_flags.append('-Woverloaded-virtual')
|
||||
if not is_clang:
|
||||
if (not is_clang and not platform == "darwin"):
|
||||
cxx_flags.append('-Wno-unused-local-typedefs')
|
||||
if is_clang:
|
||||
cxx_flags.append('-Wno-mismatched-tags')
|
||||
|
Loading…
Reference in New Issue
Block a user