| commit | 4a1b6a040abb5fe0a4fdd390d021832047b55217 | [log] [tgz] |
|---|---|---|
| author | Joshua Seaton <joshuaseaton@google.com> | Fri Nov 13 00:31:36 2020 +0000 |
| committer | CQ Bot <commit-bot@chromium.org> | Fri Nov 13 00:31:36 2020 +0000 |
| tree | f4ed12154a8b265557a42b4b558276feeacbb659 | |
| parent | 555057f8e5725964cfca91954c90918450fa60b2 [diff] |
[build] Disable format-overflow for GCC Currently it's generating false negatives. Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90036 Change-Id: I4ed457bee76432ea5df19a9f1a08d8f08e8f0816 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/450178 Reviewed-by: Roland McGrath <mcgrathr@google.com> Commit-Queue: Joshua Seaton <joshuaseaton@google.com> Fuchsia-Auto-Submit: Joshua Seaton <joshuaseaton@google.com>
diff --git a/zircon/public/gn/config/BUILD.zircon.gn b/zircon/public/gn/config/BUILD.zircon.gn index 18b5880..96befdd 100644 --- a/zircon/public/gn/config/BUILD.zircon.gn +++ b/zircon/public/gn/config/BUILD.zircon.gn
@@ -603,6 +603,12 @@ "-Wno-nonnull-compare", "-Wno-format-truncation", ] + + cflags_cc += [ + # TODO(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90036): Re-enable + # once the bug is fixed. + "-Wno-format-overflow", + ] } else { cflags += [ "-Wnewline-eof",