Disable clang -Wsigned-enum-bitfield warnings
authorMatt Sarett <msarett@google.com>
Wed, 4 Jan 2017 22:13:44 +0000 (17:13 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 4 Jan 2017 22:46:38 +0000 (22:46 +0000)
Full error text:
error: enums in the Microsoft ABI are signed integers by default;
consider giving the enum Properties an unsigned underlying type
to make this code portable [-Werror,-Wsigned-enum-bitfield]

BUG=skia:

Change-Id: I1491dd94c894e383fed401880fc04562140f7a66
Reviewed-on: https://skia-review.googlesource.com/6594
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Matt Sarett <msarett@google.com>

gn/BUILD.gn

index 3b50286..32794ab 100644 (file)
@@ -313,6 +313,7 @@ config("warnings") {
         "-Wno-shadow",
         "-Wno-shift-sign-overflow",
         "-Wno-sign-conversion",
+        "-Wno-signed-enum-bitfield",
         "-Wno-switch-enum",
         "-Wno-undef",
         "-Wno-unreachable-code",