summaryrefslogtreecommitdiffstats
path: root/third_party/mesa/BUILD.gn
diff options
context:
space:
mode:
authorpkasting <pkasting@chromium.org>2015-07-27 15:54:49 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-27 22:55:41 +0000
commitd408e1965f8e03629738039289ab7779c42a318c (patch)
tree0c8dd98f117475c4476393f48504fa579ee5e9b2 /third_party/mesa/BUILD.gn
parent8d4e4e1d03877db56839e53881cd2c4dfc9ee4b8 (diff)
downloadchromium_src-d408e1965f8e03629738039289ab7779c42a318c.zip
chromium_src-d408e1965f8e03629738039289ab7779c42a318c.tar.gz
chromium_src-d408e1965f8e03629738039289ab7779c42a318c.tar.bz2
Enable C4018 globally for the GN build, and disable per-target.
This matches what the GYP build does. BUG=398202 TEST=none Review URL: https://codereview.chromium.org/1246103007 Cr-Commit-Position: refs/heads/master@{#340590}
Diffstat (limited to 'third_party/mesa/BUILD.gn')
-rw-r--r--third_party/mesa/BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/mesa/BUILD.gn b/third_party/mesa/BUILD.gn
index 3ff2155..62f8611 100644
--- a/third_party/mesa/BUILD.gn
+++ b/third_party/mesa/BUILD.gn
@@ -135,6 +135,7 @@ config("mesa_internal_warnings") {
# Mesa is ever rolled and the warnings are fixed.
cflags += [
"/wd4005", # Macro defined twice.
+ "/wd4018", # Signed/unsigned mismatch in comparison.
"/wd4065", # Switch statement contains 'default' but no 'case' labels.
"/wd4090", # 'Operation' : different 'modifier' qualifiers
"/wd4099", # Type name struct-vs-class doesn't match.