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>
This commit is contained in:
Mike Klein 2016-09-27 12:45:26 -04:00 committed by Skia Commit-Bot
parent b353863db5
commit 3ba96c8cec

View File

@ -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",