diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-02 06:12:33 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-02 06:12:33 +0000 |
commit | a7f642055535a31d81753cb1caa64c3b69f95c7c (patch) | |
tree | f22eb3a59c70651089a2c353fbf03685e20cdd51 /third_party | |
parent | 0b37ec866b5b9fb571c20f41ea601e32100289b8 (diff) | |
download | chromium_src-a7f642055535a31d81753cb1caa64c3b69f95c7c.zip chromium_src-a7f642055535a31d81753cb1caa64c3b69f95c7c.tar.gz chromium_src-a7f642055535a31d81753cb1caa64c3b69f95c7c.tar.bz2 |
clang: Add -Wno-empty-body to libxml and hunspell flags
Only change in hunspell roll: https://chromiumcodereview.appspot.com/9568018
BUG=none
TEST=none
TBR=hans
Review URL: https://chromiumcodereview.appspot.com/9570054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124609 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/libxml/libxml.gyp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/libxml/libxml.gyp b/third_party/libxml/libxml.gyp index f0c99f7..105ab87 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', ], }], ], |