]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
AOSP: Android: stop suppressing warnings controlled by -Wall
authorEric Biggers <ebiggers@google.com>
Mon, 30 Jan 2023 19:04:32 +0000 (19:04 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 1 Feb 2023 05:22:43 +0000 (00:22 -0500)
Upstream fully supports -Wall now.

Change-Id: Ida895a1c5dfdf168bc6f50049680b2d2bfbb2942
From AOSP commit: 0ef947d1d4890b3fd4509bc1f3c98bb0f0a525f5

Android.bp
debugfs/Android.bp
lib/blkid/Android.bp
lib/e2p/Android.bp
lib/ext2fs/Android.bp
lib/uuid/Android.bp
misc/Android.bp

index 25755d9effb488f12cca25f348ea44bfba687680..3ed16a844c2e832b54976b302052caad77e33027 100644 (file)
@@ -52,7 +52,6 @@ cc_defaults {
             cflags: [
                 "-Wno-typedef-redefinition",
                 "-Wno-unused-parameter",
-                "-Wno-unused-variable",
             ],
         },
         bionic: {
index 6ccc6a0459e71777e91a5b79ae632cd4f4972c26..4c60a2dc586a8597a18e8b53796a9eda20469243 100644 (file)
@@ -42,7 +42,6 @@ cc_defaults {
         "do_journal.c",
     ],
     cflags: [
-        "-Wno-unused-variable",
         "-DDEBUGFS",
     ],
     include_dirs: [
index db6da1e2967c3e6312ce7dc3ed44f70b8a6a398a..cf205163ae322f24bf5950cb9c4d557524865ae6 100644 (file)
@@ -40,7 +40,6 @@ cc_library {
     target: {
         windows: {
             cflags: [
-                "-Wno-pointer-to-int-cast",
                 "-Wno-error=typedef-redefinition",
             ],
 
@@ -49,8 +48,6 @@ cc_library {
     },
 
     cflags: [
-        "-Wno-error=attributes",
-        "-Wno-error=pointer-sign",
         "-Wno-unused-parameter",
     ],
 
index bf3ec7d4d9f700f0dcb55203f2896adc6665d280..6cfdcda70f550df944799d1eb9ae6bf7cee63b3d 100644 (file)
@@ -47,7 +47,6 @@ cc_library {
     ],
 
     cflags: [
-        "-Wno-error=attributes",
         "-Wno-unused-parameter",
     ],
 
@@ -55,7 +54,6 @@ cc_library {
         windows: {
             enabled: true,
             cflags: [
-                "-Wno-unused-variable",
                 "-Wno-error=typedef-redefinition",
             ],
         },
index 465dd552e78a38d3e67a726b5b5765ea16733bd5..5ed7aec1e8601b093c5dbd2a93d1a82e42fe75a2 100644 (file)
@@ -122,8 +122,6 @@ cc_library {
             srcs: ["windows_io.c"],
             exclude_srcs: ["unix_io.c"],
             cflags: [
-                "-Wno-format",
-                "-Wno-unused-variable",
                 "-Wno-error=typedef-redefinition",
             ],
         },
index e45251b858b10e25398408c0e731d00473d90c5d..596b20a8bbaab22344306adde24262c18bee8aed 100644 (file)
@@ -40,7 +40,6 @@ cc_library {
         "uuid_time.c",
     ],
     cflags: [
-        "-Wno-unused-function",
         "-Wno-unused-parameter",
     ],
     target: {
index 12b3e25926ce9dcc2cdca427a5075b6c092de39f..70c2041652801f31dc944cfbba2cd11ea168472b 100644 (file)
@@ -23,14 +23,12 @@ cc_library {
     target: {
         windows: {
             enabled: true,
-            cflags: ["-Wno-unused-variable"],
         },
     },
 
     srcs: [
         "create_inode.c",
     ],
-    cflags: ["-Wno-error=format-extra-args"],
     shared_libs: [
         "libext2fs",
         "libext2_com_err",
@@ -54,9 +52,7 @@ cc_defaults {
         "default_profile.c",
     ],
     cflags: [
-        "-Wno-error=format",
         "-Wno-error=type-limits",
-        "-Wno-format-extra-args",
     ],
 
     stl: "libc++_static",