From: Eric Biggers Date: Wed, 16 Jun 2021 04:48:08 +0000 (-0700) Subject: AOSP: Use -Wno-pointer-arith in Android build X-Git-Tag: v1.46.3~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e3403d96d6c5ee27f6c53f885a99c34230ca40a;p=thirdparty%2Fe2fsprogs.git AOSP: Use -Wno-pointer-arith in Android build Some "arithmetic on a void pointer is a GNU extension" warnings were introduced into upstream e2fsprogs, but they are of questionable value, so disable them for now. Change-Id: I19e99382e9434828927c1b8287b91f3333110151 From AOSP commit: f203c38fd43dc384cedfcaeb155771a15906022f --- diff --git a/Android.bp b/Android.bp index f9c3b6f83..fa2d0153c 100644 --- a/Android.bp +++ b/Android.bp @@ -42,7 +42,7 @@ license { cc_defaults { name: "e2fsprogs-defaults", - cflags: ["-Wall", "-Werror"], + cflags: ["-Wall", "-Werror", "-Wno-pointer-arith"], target: { darwin: { // Still has unfixed/unsuppressed warnings.