diff --git a/wscript b/wscript index 7e7e65489d..e3d7702ca9 100644 --- a/wscript +++ b/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')