From fabd0dd8d38d1892821f7e12b53e5ff121797385 Mon Sep 17 00:00:00 2001 From: Omar Eissa Date: Tue, 28 Feb 2023 11:08:57 +0000 Subject: [PATCH] Revert "Enable -Wformat-insufficient-args globally" This reverts commit 49f09a36947166d8a1c73b9fe87dcb19324b5e18. Reason for revert: b/271045282 Change-Id: Ice56137c5567a38d15cc39f80497ce74bc18650f --- cc/config/global.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cc/config/global.go b/cc/config/global.go index 488af45c1..05dc77354 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -193,7 +193,6 @@ var ( noOverrideGlobalCflags = []string{ "-Werror=bool-operation", - "-Werror=format-insufficient-args", "-Werror=implicit-int-float-conversion", "-Werror=int-in-bool-context", "-Werror=int-to-pointer-cast", @@ -248,8 +247,6 @@ var ( noOverride64GlobalCflags = []string{} noOverrideExternalGlobalCflags = []string{ - // http://b/191699019 - "-Wno-format-insufficient-args", "-Wno-sizeof-array-div", "-Wno-unused-but-set-variable", "-Wno-unused-but-set-parameter", @@ -287,6 +284,9 @@ var ( // http://b/239661264 "-Wno-deprecated-non-prototype", + + // http://b/191699019 + "-Wno-format-insufficient-args", } llvmNextExtraCommonGlobalCflags = []string{