diff options
| author | 2023-03-08 23:48:45 +0000 | |
|---|---|---|
| committer | 2023-03-08 23:48:45 +0000 | |
| commit | d156908820781e776fbfcc9af6e45047d0d01600 (patch) | |
| tree | 3d84af51baff206823eb707e7566502228fe5418 | |
| parent | fa6b6843a7050731b24adce2725241f255b2e8e4 (diff) | |
Revert "Revert "Enable -Wformat-insufficient-args globally""
This reverts commit fa6b6843a7050731b24adce2725241f255b2e8e4.
Reason for revert: Bug fix: https://googleplex-android-review.git.corp.google.com/c/platform/vendor/google/whitechapel/audio/+/21912759
Change-Id: I1c95f8d813171b500fa48c809bcffb0af7179f9a
| -rw-r--r-- | cc/config/global.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cc/config/global.go b/cc/config/global.go index 05dc77354..488af45c1 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -193,6 +193,7 @@ 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", @@ -247,6 +248,8 @@ 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", @@ -284,9 +287,6 @@ var ( // http://b/239661264 "-Wno-deprecated-non-prototype", - - // http://b/191699019 - "-Wno-format-insufficient-args", } llvmNextExtraCommonGlobalCflags = []string{ |