Index: sdch/sdch.gyp |
diff --git a/sdch/sdch.gyp b/sdch/sdch.gyp |
index 52a92f31e2a7a55c535d0ad313e60a585dca8b1b..e886288da5013a09ff2bd66acc267dfd8542a3cb 100644 |
--- a/sdch/sdch.gyp |
+++ b/sdch/sdch.gyp |
@@ -71,6 +71,11 @@ |
# introduce static initializers, and which prevents open-vcdiff's |
# logging.h from being used). |
'variables': { |
+ 'clang_warning_flags': [ |
+ # sdch uses the pre-c++11 typedef-as-static_assert hack. |
+ # https://code.google.com/p/open-vcdiff/issues/detail?id=44 |
+ '-Wno-unused-local-typedef', |
+ ], |
'logging_path': 'logging_forward.h', |
'conditions': [ |
# gyp leaves unspecified what the cwd is when running the compiler, |