Index: third_party/libxml/libxml.gyp |
diff --git a/third_party/libxml/libxml.gyp b/third_party/libxml/libxml.gyp |
index f0c99f7604f602f1ffced2cb58a1b3ca30b36534..105ab87692dc5d026705cf13343071d336e0f9c7 100644 |
--- a/third_party/libxml/libxml.gyp |
+++ b/third_party/libxml/libxml.gyp |
@@ -197,10 +197,16 @@ |
'WARNING_CFLAGS': [ |
# libxml passes `const unsigned char*` through `const char*`. |
'-Wno-pointer-sign', |
+ # pattern.c and uri.c both have an intentional |
+ # `for (...);` / `while(...);` loop. I submitted a patch to |
+ # move the `'` to its own line, but until that's landed |
+ # suppress the warning: |
+ '-Wno-empty-body', |
], |
}, |
'cflags': [ |
'-Wno-pointer-sign', |
+ '-Wno-empty-body', |
], |
}], |
], |