Whamcloud - gitweb
AOSP: mke2fs: stop suppressing warnings for Windows build
authorEric Biggers <ebiggers@google.com>
Wed, 25 Jan 2023 23:45:33 +0000 (23:45 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 1 Feb 2023 05:15:07 +0000 (00:15 -0500)
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

misc/Android.bp

index 3e761ad..63347b2 100644 (file)
@@ -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
         },