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

Commit df5754c8 authored by Krzysztof Kosiński's avatar Krzysztof Kosiński Committed by Automerger Merge Worker
Browse files

Merge "Revert "Enable -Werror=incompatible-function-pointer-types"" into main...

Merge "Revert "Enable -Werror=incompatible-function-pointer-types"" into main am: 69101d69 am: 029d1673

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2784488



Change-Id: I335033907af959ed77efe5534db9df6bf9ec7b2a
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 858f6135 029d1673
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -248,7 +248,6 @@ var (
		"-Werror=fortify-source",

		"-Werror=address-of-temporary",
		"-Werror=incompatible-function-pointer-types",
		"-Werror=null-dereference",
		"-Werror=return-type",

@@ -325,6 +324,10 @@ var (
		"-fcommon",
		// http://b/191699019
		"-Wno-format-insufficient-args",
		// http://b/296321145
		// Indicates potential memory or stack corruption, so should be changed
		// to a hard error. Currently triggered by some vendor code.
		"-Wno-incompatible-function-pointer-types",
		// http://b/296321508
		// Introduced in response to a critical security vulnerability and
		// should be a hard error - it requires only whitespace changes to fix.