diff options
author | Matt Sarett <msarett@google.com> | 2017-01-04 17:13:44 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-01-04 22:46:38 +0000 |
commit | d3ed402617ab5f157bdf2da20e5808d7730116aa (patch) | |
tree | bc1e3e6f35e6c617f17659f989de5ef8091dcece /gn | |
parent | 68dd8d0e083e71042056163f6105d9ee103eea54 (diff) |
Disable clang -Wsigned-enum-bitfield warnings
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>
Diffstat (limited to 'gn')
-rw-r--r-- | gn/BUILD.gn | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn index 3b50286d21..32794ab832 100644 --- a/gn/BUILD.gn +++ b/gn/BUILD.gn @@ -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", |