diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-18 00:09:04 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-18 00:09:04 +0000 |
commit | df5edc6d91b9f36507d9ae4a2a6aa4f8688e58e5 (patch) | |
tree | 5e35d758989077cf944747b5c81a03dd86bbaab6 /third_party | |
parent | 94e80e52576ce1ec3337809749beaa8d46afb10f (diff) | |
download | chromium_src-df5edc6d91b9f36507d9ae4a2a6aa4f8688e58e5.zip chromium_src-df5edc6d91b9f36507d9ae4a2a6aa4f8688e58e5.tar.gz chromium_src-df5edc6d91b9f36507d9ae4a2a6aa4f8688e58e5.tar.bz2 |
Disable harmless warnings for 3rdparty code: sqlite.
BUG=102390
Review URL: https://chromiumcodereview.appspot.com/9240018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117996 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/sqlite/sqlite.gyp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/sqlite/sqlite.gyp b/third_party/sqlite/sqlite.gyp index 4849212..4dc0891 100644 --- a/third_party/sqlite/sqlite.gyp +++ b/third_party/sqlite/sqlite.gyp @@ -118,6 +118,20 @@ '-Wno-pointer-to-int-cast', ], }], + ['clang==1', { + 'xcode_settings': { + 'WARNING_CFLAGS': [ + # sqlite does `if (*a++ && *b++);` in a non-buggy way. + '-Wno-empty-body', + # sqlite has some `unsigned < 0` checks. + '-Wno-tautological-compare', + ], + }, + 'cflags': [ + '-Wno-empty-body', + '-Wno-tautological-compare', + ], + }], ], }], ], |