Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(732)

Unified Diff: net/third_party/nss/ssl.gyp

Issue 10855238: linux/clang: Disable the last two warnings, turn on -Werror (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: cros Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/third_party/nss/ssl.gyp
diff --git a/net/third_party/nss/ssl.gyp b/net/third_party/nss/ssl.gyp
index 07f1b64fb941af0cbd1acb42bcf335fdb72f6c1d..7f319a19000df3c183e33c050b2850bb9213854a 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.
Ryan Sleevi 2012/08/18 01:33:59 Your comment made it seem like you weren't sure if
wtc 2012/08/18 02:30:07 It may be better to patch sslsecur.c to cast away
+ '-Wno-incompatible-pointer-types',
+ ],
+ }],
[ 'OS == "mac" or OS == "ios"', {
'defines': [
'XP_UNIX',
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698