Merge "Enable Wincompatible-function-pointer-types globally"

This commit is contained in:
Treehugger Robot
2023-03-29 19:11:14 +00:00
committed by Gerrit Code Review

View File

@@ -239,7 +239,6 @@ var (
"-Wno-error=deprecated", // in external/googletest/googletest "-Wno-error=deprecated", // in external/googletest/googletest
// New warnings to be fixed after clang-r475365 // New warnings to be fixed after clang-r475365
"-Wno-error=single-bit-bitfield-constant-conversion", // http://b/243965903 "-Wno-error=single-bit-bitfield-constant-conversion", // http://b/243965903
"-Wno-error=incompatible-function-pointer-types", // http://b/257101299
"-Wno-error=enum-constexpr-conversion", // http://b/243964282 "-Wno-error=enum-constexpr-conversion", // http://b/243964282
} }
@@ -249,6 +248,7 @@ var (
// http://b/191699019 // http://b/191699019
"-Wno-format-insufficient-args", "-Wno-format-insufficient-args",
"-Wno-sizeof-array-div", "-Wno-sizeof-array-div",
"-Wno-incompatible-function-pointer-types",
"-Wno-unused-but-set-variable", "-Wno-unused-but-set-variable",
"-Wno-unused-but-set-parameter", "-Wno-unused-but-set-parameter",
"-Wno-unqualified-std-cast-call", "-Wno-unqualified-std-cast-call",