From 4e024bb4f5c8aa8b07459f7fbd65c35122127fd1 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Wed, 22 Sep 2010 14:19:28 +0200 Subject: Remove compiler warnings when building the emulator. This forces -Wall during the build. Note that this patch doesn't remove all warnings, but most of the remaining ones are from upstream anyway. Change-Id: I8808d8495e99866e156ce5780d2e3c305eab491f --- Makefile.android | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile.android') diff --git a/Makefile.android b/Makefile.android index 98968b9..70904f5 100644 --- a/Makefile.android +++ b/Makefile.android @@ -98,6 +98,11 @@ ifneq ($(combo_target)$(TARGET_SIMULATOR),HOST_true) endif endif +# Enable warning, except those related to missing field initializers +# (the QEMU coding style loves using these). +# +MY_CFLAGS += -Wall -Wno-missing-field-initializers + include $(CLEAR_VARS) ########################################################### -- cgit v1.1