From 24b3902f1949add112fa832e1b8c15839fc1eeb0 Mon Sep 17 00:00:00 2001 From: George Kulakowski Date: Thu, 3 Dec 2015 13:44:14 -0800 Subject: [PATCH] Don't warn on maybe-uninitialized in fnl Our GCC picks up on a bunch of these in release. Suppress this until we switch to Clang. --- build/config/compiler/BUILD.gn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn index 8869b4ea9c0..9b8d38a311c 100644 --- a/build/config/compiler/BUILD.gn +++ b/build/config/compiler/BUILD.gn @@ -219,6 +219,11 @@ config("compiler") { "//buildtools/third_party/libc++abi/trunk/include", ] } + + if (is_fnl) { + # TODO(kulakowski) remove when fnl no longer uses gcc + cflags += [ "-Wno-maybe-uninitialized" ] + } } if (is_clang && is_debug) {