summaryrefslogtreecommitdiffstats
path: root/net/third_party
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-18 04:24:32 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-18 04:24:32 +0000
commit82dd5eb3a2448eb52a711573f3ff6d3d20306563 (patch)
treeebd9421fc050ff5067c67e38838f9cac099990a2 /net/third_party
parenta5b3e3af11c6164300f293cc27b27db7cbfeced8 (diff)
downloadchromium_src-82dd5eb3a2448eb52a711573f3ff6d3d20306563.zip
chromium_src-82dd5eb3a2448eb52a711573f3ff6d3d20306563.tar.gz
chromium_src-82dd5eb3a2448eb52a711573f3ff6d3d20306563.tar.bz2
linux/clang: Disable the last two warnings, turn on -Werror
BUG=138571 TBR=tony Review URL: https://chromiumcodereview.appspot.com/10855238 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152242 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/third_party')
-rw-r--r--net/third_party/nss/ssl.gyp7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/third_party/nss/ssl.gyp b/net/third_party/nss/ssl.gyp
index 07f1b64..7f319a1 100644
--- a/net/third_party/nss/ssl.gyp
+++ b/net/third_party/nss/ssl.gyp
@@ -89,6 +89,13 @@
],
'msvs_disabled_warnings': [4018, 4244],
'conditions': [
+ [ 'clang == 1', {
+ 'cflags': [
+ # See http://crbug.com/138571#c8. In short, sslsecur.c picks up the
+ # system's cert.h because cert.h isn't in chromium's repo.
+ '-Wno-incompatible-pointer-types',
+ ],
+ }],
[ 'OS == "mac" or OS == "ios"', {
'defines': [
'XP_UNIX',