Index: third_party/cld_2/cld_2.gyp |
diff --git a/third_party/cld_2/cld_2.gyp b/third_party/cld_2/cld_2.gyp |
index 25feba6174858cd0d885fcdd2e2015d2ada99289..aeaea2b9435236591931f2cc1304146d9907d3a6 100644 |
--- a/third_party/cld_2/cld_2.gyp |
+++ b/third_party/cld_2/cld_2.gyp |
@@ -178,7 +178,8 @@ |
'clang_warning_flags': [ |
# The generated files don't have braces around subobject initializers. |
'-Wno-missing-braces', |
- # cld_2 contains unused private fields. |
+ # cld_2 contains unused private fields, |
+ # https://code.google.com/p/cld2/issues/detail?id=37 |
'-Wno-unused-private-field', |
], |
}, |
@@ -203,6 +204,13 @@ |
'<@(cld2_dynamic_data_loader_sources)', |
], |
'defines': ['CLD2_DYNAMIC_MODE'], |
+ 'variables': { |
+ 'clang_warning_flags': [ |
+ # cld_2 contains unused private fields, |
+ # https://code.google.com/p/cld2/issues/detail?id=37 |
+ '-Wno-unused-private-field', |
+ ], |
+ }, |
}, |
], |
} |