Whamcloud - gitweb
AOSP: Turn off some more warnings on Windows.
authorElliott Hughes <enh@google.com>
Fri, 19 Apr 2019 16:34:39 +0000 (09:34 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 22 Apr 2019 17:35:03 +0000 (13:35 -0400)
Test: builds
Change-Id: Ieb0f34ba444f608ec3fdf89aa61a93b4ac312af4
From AOSP commit: 88a90b52f836bc4aaba231857f1e4facf0a25959

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Android.bp

index b8cbcdc..79dd58e 100644 (file)
@@ -8,6 +8,13 @@ cc_defaults {
             // Still has unfixed/unsuppressed warnings.
             cflags: ["-Wno-error"],
         },
+        windows: {
+            cflags: [
+                "-Wno-typedef-redefinition",
+                "-Wno-unused-parameter",
+                "-Wno-unused-variable",
+            ],
+        },
     },
 }