diff options
author | Robin Gareus <robin@gareus.org> | 2014-11-24 04:24:58 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-11-24 04:24:58 +0100 |
commit | 2bdf9e447f7341febc06bf6ad9c19bb4489fb885 (patch) | |
tree | cc4915511b4cdcf4e42ab0d2806a2fe68face714 /wscript | |
parent | 3a7652200d5383c1be4e83cd59e9fb5be1521a24 (diff) |
OSX gcc does not support local-typedef warning
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -385,7 +385,9 @@ def set_compiler_flags (conf,opt): ('-Wall', '-Wpointer-arith', '-Wcast-qual', '-Wcast-align', '-Wno-unused-parameter')) 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 |