diff options
author | Eric Biggers <ebiggers@google.com> | 2023-01-30 19:04:32 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-02-01 00:22:43 -0500 |
commit | c4749950337327946f969b3bfeb67b3cdf60672a (patch) | |
tree | 4d643c1f5d9e483c9c5254beb5d3c08bec42c1ce | |
parent | 23081a924a098243730d721f941c032ca4addf3a (diff) | |
download | e2fsprogs-c4749950337327946f969b3bfeb67b3cdf60672a.tar.gz |
AOSP: Android: stop suppressing warnings controlled by -Wall
Upstream fully supports -Wall now.
Change-Id: Ida895a1c5dfdf168bc6f50049680b2d2bfbb2942
From AOSP commit: 0ef947d1d4890b3fd4509bc1f3c98bb0f0a525f5
-rw-r--r-- | Android.bp | 1 | ||||
-rw-r--r-- | debugfs/Android.bp | 1 | ||||
-rw-r--r-- | lib/blkid/Android.bp | 3 | ||||
-rw-r--r-- | lib/e2p/Android.bp | 2 | ||||
-rw-r--r-- | lib/ext2fs/Android.bp | 2 | ||||
-rw-r--r-- | lib/uuid/Android.bp | 1 | ||||
-rw-r--r-- | misc/Android.bp | 4 |
7 files changed, 0 insertions, 14 deletions
@@ -52,7 +52,6 @@ cc_defaults { cflags: [ "-Wno-typedef-redefinition", "-Wno-unused-parameter", - "-Wno-unused-variable", ], }, bionic: { diff --git a/debugfs/Android.bp b/debugfs/Android.bp index 6ccc6a04..4c60a2dc 100644 --- a/debugfs/Android.bp +++ b/debugfs/Android.bp @@ -42,7 +42,6 @@ cc_defaults { "do_journal.c", ], cflags: [ - "-Wno-unused-variable", "-DDEBUGFS", ], include_dirs: [ diff --git a/lib/blkid/Android.bp b/lib/blkid/Android.bp index db6da1e2..cf205163 100644 --- a/lib/blkid/Android.bp +++ b/lib/blkid/Android.bp @@ -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", ], diff --git a/lib/e2p/Android.bp b/lib/e2p/Android.bp index bf3ec7d4..6cfdcda7 100644 --- a/lib/e2p/Android.bp +++ b/lib/e2p/Android.bp @@ -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", ], }, diff --git a/lib/ext2fs/Android.bp b/lib/ext2fs/Android.bp index 465dd552..5ed7aec1 100644 --- a/lib/ext2fs/Android.bp +++ b/lib/ext2fs/Android.bp @@ -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", ], }, diff --git a/lib/uuid/Android.bp b/lib/uuid/Android.bp index e45251b8..596b20a8 100644 --- a/lib/uuid/Android.bp +++ b/lib/uuid/Android.bp @@ -40,7 +40,6 @@ cc_library { "uuid_time.c", ], cflags: [ - "-Wno-unused-function", "-Wno-unused-parameter", ], target: { diff --git a/misc/Android.bp b/misc/Android.bp index 12b3e259..70c20416 100644 --- a/misc/Android.bp +++ b/misc/Android.bp @@ -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", |