summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2015-06-30 20:22:22 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-01 03:22:58 +0000
commit700bce216cb9399ce306850ee66d3ce5a68c4cfa (patch)
tree4b7db38e6224ac5b2d9da917474ad07e2029b390 /build
parenta7a4b78786a4ab52cd4995090f15278dd99fe850 (diff)
downloadchromium_src-700bce216cb9399ce306850ee66d3ce5a68c4cfa.zip
chromium_src-700bce216cb9399ce306850ee66d3ce5a68c4cfa.tar.gz
chromium_src-700bce216cb9399ce306850ee66d3ce5a68c4cfa.tar.bz2
Add local suppresion for -Wparentheses and enable everywhere on Windows.
The Cloud Print Windows service uses WTL, and one of the headers uses an assignment inside a conditional (atlgdi.h), which triggers this clang warning. BUG=505302 TBR=scottbyer@chromium.org,vitalybuka@chromium.org Review URL: https://codereview.chromium.org/1214113010 Cr-Commit-Position: refs/heads/master@{#336964}
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi1
-rw-r--r--build/config/compiler/BUILD.gn1
2 files changed, 0 insertions, 2 deletions
diff --git a/build/common.gypi b/build/common.gypi
index ddbbb92..edfb0c8 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -5715,7 +5715,6 @@
'-Wno-missing-declarations', # http://crbug.com/505298
'-Wno-msvc-include', # http://crbug.com/505299
'-Wno-overloaded-virtual', # http://crbug.com/505301
- '-Wno-parentheses', # http://crbug.com/505302
'-Wno-pointer-sign', # http://crbug.com/505303
'-Wno-reorder', # http://crbug.com/505304
'-Wno-return-type-c-linkage', # http://crbug.com/505305
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 2c0b455..32b609e 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -814,7 +814,6 @@ if (is_win) {
"-Wno-missing-declarations", # http://crbug.com/505298
"-Wno-msvc-include", # http://crbug.com/505299
"-Wno-overloaded-virtual", # http://crbug.com/505301
- "-Wno-parentheses", # http://crbug.com/505302
"-Wno-pointer-sign", # http://crbug.com/505303
"-Wno-reorder", # http://crbug.com/505304
"-Wno-return-type-c-linkage", # http://crbug.com/505305