From: Eric Biggers Date: Wed, 25 Jan 2023 23:45:33 +0000 (+0000) Subject: AOSP: mke2fs: stop suppressing warnings for Windows build X-Git-Tag: v1.46.6~35 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=97f9109b6633dbf086645c21750ecc5f022d72a3;p=tools%2Fe2fsprogs.git AOSP: mke2fs: stop suppressing warnings for Windows build The warning this was intended to suppress was already fixed by upstream commit 108f3021a6b6 ("mke2fs: use ext2fs_get_device_size2() on all platforms"). Test: mmm external/e2fsprogs Change-Id: I12de1b58e839658568c2f7cd30f1c2a227fe15f2 From AOSP commit: 7c581e836497595d0748953eb2b533777d9f4fd4 --- diff --git a/misc/Android.bp b/misc/Android.bp index 3e761ad..63347b2 100644 --- a/misc/Android.bp +++ b/misc/Android.bp @@ -90,12 +90,6 @@ cc_binary { }, windows: { include_dirs: [ "external/e2fsprogs/include/mingw" ], - cflags: [ - // mke2fs.c has a warning from gcc which cannot be suppressed: - // passing argument 3 of 'ext2fs_get_device_size' from - // incompatible pointer type - "-Wno-error" - ], ldflags: ["-static"], enabled: true },