diff options
author | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-10 00:32:13 +0000 |
---|---|---|
committer | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-10 00:32:13 +0000 |
commit | c5eef3146b705a8bc2412d672ba78c26cfe0f886 (patch) | |
tree | 24b867e93e85b053778ccdf2a3db53b4acb2ddf1 | |
parent | 4eee4615524ab8f53acd2374a127fb7428659443 (diff) | |
download | chromium_src-c5eef3146b705a8bc2412d672ba78c26cfe0f886.zip chromium_src-c5eef3146b705a8bc2412d672ba78c26cfe0f886.tar.gz chromium_src-c5eef3146b705a8bc2412d672ba78c26cfe0f886.tar.bz2 |
disable warnings in libxml
..\..\third_party\libxml\src\nanohttp.c(1035) : warning C4101: 'h' : unreferenced local variable
..\..\third_party\libxml\src\nanohttp.c(1044) : warning C4101: 'i' : unreferenced local variable
..\..\third_party\libxml\src\nanohttp.c(1037) : warning C4101: 'ia' : unreferenced local variable
..\..\third_party\libxml\src\parser.c(11576) : warning C4018: '<' : signed/unsigned mismatch
The unused variable warnings are in some heavily #ifdef'd code where it would
be pretty complex to have them only be declared when used.
Signed/unsigned is fixed upstream and can be removed (per comment) when we next update libxml.
BUG=126483
Review URL: https://chromiumcodereview.appspot.com/10391042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136199 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | third_party/libxml/libxml.gyp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/libxml/libxml.gyp b/third_party/libxml/libxml.gyp index 105ab87..621bc98 100644 --- a/third_party/libxml/libxml.gyp +++ b/third_party/libxml/libxml.gyp @@ -189,6 +189,10 @@ ['OS=="mac" or OS=="android"', {'defines': ['_REENTRANT']}], ['OS=="win"', { 'product_name': 'libxml2', + # Disable unimportant 'unused variable' warning, and + # signed/unsigned comparison warning. The signed/unsigned (4101) + # is fixed upstream and can be removed eventually. + 'msvs_disabled_warnings': [ 4018, 4101 ], }, { # else: OS!="win" 'product_name': 'xml2', }], |