Merge "Move -Wno-error=format from external NoOverride to external flags" into main

This commit is contained in:
Yi Kong
2024-08-09 13:50:03 +00:00
committed by Gerrit Code Review

View File

@@ -339,6 +339,9 @@ var (
"-Wno-unused", "-Wno-unused",
"-Wno-deprecated", "-Wno-deprecated",
// http://b/315250603 temporarily disabled
"-Wno-error=format",
} }
// Similar to noOverrideGlobalCflags, but applies only to third-party code // Similar to noOverrideGlobalCflags, but applies only to third-party code
@@ -367,9 +370,6 @@ var (
"-Wno-gnu-offsetof-extensions", "-Wno-gnu-offsetof-extensions",
// TODO: Enable this warning http://b/315245071 // TODO: Enable this warning http://b/315245071
"-Wno-fortify-source", "-Wno-fortify-source",
// http://b/315250603 temporarily disabled
"-Wno-error=format",
} }
llvmNextExtraCommonGlobalCflags = []string{ llvmNextExtraCommonGlobalCflags = []string{