aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2016-09-27 12:45:26 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-09-27 17:22:12 +0000
commit3ba96c8cecd86e34b09471f3114aab2434ff702e (patch)
treec573dd0f37078850c2440a2ee754bed9d22c6a9d
parentb353863db5a477a76e83af2c5c4492c8b800304a (diff)
Turn on -Wgnu-anonymous-struct and -Wnested-anonymous-types.
I'm not seeing any problems with these locally. Perhaps the bots have something to say. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2709 Change-Id: I6f0c7045c8f270efcd71d837f22a40e9f9d3e9b7 Reviewed-on: https://skia-review.googlesource.com/2709 Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-by: Ben Wagner <bungeman@google.com>
-rw-r--r--gn/BUILD.gn2
1 files changed, 0 insertions, 2 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index 4fce4ac16d..0c60ac8e1f 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -102,11 +102,9 @@ config("default") {
"-Wno-float-equal",
"-Wno-format-nonliteral",
"-Wno-global-constructors", # TODO: OK outside libskia
- "-Wno-gnu-anonymous-struct",
"-Wno-gnu-zero-variadic-macro-arguments",
"-Wno-missing-prototypes",
"-Wno-missing-variable-declarations",
- "-Wno-nested-anon-types",
"-Wno-pedantic",
"-Wno-reserved-id-macro",
"-Wno-shadow",