Diff between 4190ac1223f3da662facf8bdbdeccae698970345 and 6a43401fb7e05f3167d761acdaa93938424124fd

Changed Files

File Additions Deletions Status
android/Android.mk +10 -1 modified

Full Patch

diff --git a/android/Android.mk b/android/Android.mk
index 20105e6..0cd6374 100644
--- a/android/Android.mk
+++ b/android/Android.mk
@@ -11,8 +11,17 @@ pathmap_INCL += glib:external/bluetooth/glib \
 BLUEZ_COMMON_CFLAGS := -DVERSION=\"$(BLUEZ_VERSION)\" \
 	-DANDROID_STORAGEDIR=\"/data/misc/bluetooth\" \
 
+# Enable warnings enabled in autotools build
+BLUEZ_COMMON_CFLAGS += -Wall -Wextra \
+			-Wdeclaration-after-statement \
+			-Wmissing-declarations \
+			-Wredundant-decls \
+			-Wcast-align \
+
 # Disable warnings enabled by Android but not enabled in autotools build
-BLUEZ_COMMON_CFLAGS += -Wno-pointer-arith -Wno-missing-field-initializers
+BLUEZ_COMMON_CFLAGS += -Wno-pointer-arith \
+			-Wno-missing-field-initializers \
+			-Wno-unused-parameter \
 
 #
 # Android BlueZ daemon (bluetoothd)