From a89e95f57cbbff776219550286764ef1145f0f6e Mon Sep 17 00:00:00 2001 From: Sebastian Zaha Date: Thu, 3 Aug 2023 10:26:59 +0200 Subject: [PATCH] Meta: Port GCC compile option from cmake to gn The GCC build is extremely noisy without -Wno-literal-suffix. (Tested on GCC12) --- Meta/gn/build/BUILD.gn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Meta/gn/build/BUILD.gn b/Meta/gn/build/BUILD.gn index 4d149e4161..b82cf38bad 100644 --- a/Meta/gn/build/BUILD.gn +++ b/Meta/gn/build/BUILD.gn @@ -111,6 +111,8 @@ config("compiler_defaults") { # instead) on clang<=3.8. Clang also has a -Wredundant-move, but it # only fires when the types match exactly, so we can keep it here. "-Wno-redundant-move", + + "-Wno-literal-suffix", ] }