Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a08ccd0 authored by zijunzhao's avatar zijunzhao Committed by Zijun Zhao
Browse files

Enable Wincompatible-function-pointer-types globally

Bug: b/257101299
Test: make checkbuild
Change-Id: I7a5adc0c04e420e6782371b3efc3fbffd367b3a2
parent d3cc7c9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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",