summaryrefslogtreecommitdiffstats
path: root/third_party/sqlite
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-08 23:46:34 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-08 23:46:34 +0000
commit4978976710e30b759ccd7bf47e2eb2dce7a0a05b (patch)
tree5c589f589cd5f044c8027b706d281a67d59162d0 /third_party/sqlite
parent36e121718564c05d2395ad3727217f2d21c1c551 (diff)
downloadchromium_src-4978976710e30b759ccd7bf47e2eb2dce7a0a05b.zip
chromium_src-4978976710e30b759ccd7bf47e2eb2dce7a0a05b.tar.gz
chromium_src-4978976710e30b759ccd7bf47e2eb2dce7a0a05b.tar.bz2
sqlite: disable some warnings
The SQLite project doesn't fix compiler warnings(!), instead preferring automated testing. Review URL: http://codereview.chromium.org/6456008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74201 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/sqlite')
-rw-r--r--third_party/sqlite/sqlite.gyp11
1 files changed, 10 insertions, 1 deletions
diff --git a/third_party/sqlite/sqlite.gyp b/third_party/sqlite/sqlite.gyp
index d4d581f..dae9b13 100644
--- a/third_party/sqlite/sqlite.gyp
+++ b/third_party/sqlite/sqlite.gyp
@@ -215,7 +215,7 @@
],
},
'msvs_disabled_warnings': [
- 4018, 4244,
+ 4018, 4244,
],
'conditions': [
['OS=="win"', {
@@ -223,6 +223,15 @@
}, { # else: OS!="win"
'sources/': [['exclude', '_(w32|win)\\.cc?$']],
}],
+ ['OS=="linux"', {
+ 'cflags': [
+ # SQLite doesn't believe in compiler warnings,
+ # preferring testing.
+ # http://www.sqlite.org/faq.html#q17
+ '-Wno-int-to-pointer-cast',
+ '-Wno-pointer-to-int-cast',
+ ],
+ }],
],
}],
],