diff options
author | Mike Klein <mtklein@chromium.org> | 2017-09-08 20:26:36 +0000 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-09-10 13:20:49 +0000 |
commit | bc7b1eab6ce374cb184857ab79fcc840e9587e3e (patch) | |
tree | 5284dff750e7b1bb0784292d905e4411de962ae1 /gn/BUILD.gn | |
parent | e5964bc7d42e86e280f3be50c472665edd4a13db (diff) |
update clang_linux package to Clang 5
Disable some new warning flags to get us building.
Change-Id: I10299d667b06fb61d03e52329883c634bd42f45c
Reviewed-on: https://skia-review.googlesource.com/44341
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r-- | gn/BUILD.gn | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn index b2013c571b..b91c8770e7 100644 --- a/gn/BUILD.gn +++ b/gn/BUILD.gn @@ -309,6 +309,13 @@ config("warnings") { cflags += [ "-Wno-over-aligned" ] } + # TODO: fix after we're building with Clang 5 + cflags += [ + "-Wno-cast-qual", + "-Wno-unused-template", + "-Wno-zero-as-null-pointer-constant", + ] + cflags += [ "-Wno-cast-align", "-Wno-conditional-uninitialized", |