diff options
author | Nico Weber <thakis@chromium.org> | 2018-01-31 16:20:22 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-31 16:20:22 +0000 |
commit | fa61a7476d6be1dfd5c46be53996ba3ca7a3a610 (patch) | |
tree | ae926163501df4ae488c9f4577f6c0bb83a81f3c | |
parent | 41b45a88f14ea546d1b46b7c30a1c9c1db778ac3 (diff) | |
download | pdfium-fa61a7476d6be1dfd5c46be53996ba3ca7a3a610.tar.xz |
Explicitly suppress -Wimplicit-fallthrough for pdfium.
No behavior change since that warning isn't enabled anywhere yet, and
it's opt-in. This is a prerequisite for
https://chromium-review.googlesource.com/c/chromium/src/+/895726
Bug: chromium:177475
Change-Id: I844455a19ed76b5deb0201a878576ab0d5418a71
Reviewed-on: https://pdfium-review.googlesource.com/24790
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
-rw-r--r-- | BUILD.gn | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -71,6 +71,10 @@ config("pdfium_common_config") { # Assume UTF-8 by default to avoid code page dependencies. cflags += [ "/utf-8" ] } + if (is_clang) { + # TODO(thakis): Consider enabling this, https://crbug.com/807632 + cflags += [ "-Wno-implicit-fallthrough" ] + } } config("pdfium_core_config") { |