summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2016-02-18 10:44:40 -0800
committerAurimas Liutikas <aurimas@google.com>2016-02-18 14:15:08 -0800
commite030579a0265d2c2b6b811b0db05024421877411 (patch)
tree1add81fd95b7188c0c1882dc55b47398a8190f96
parent28340d1d9199b789f0db015680b008c98084f0b7 (diff)
downloadandroid_frameworks_wilhelm-e030579a0265d2c2b6b811b0db05024421877411.tar.gz
android_frameworks_wilhelm-e030579a0265d2c2b6b811b0db05024421877411.tar.bz2
android_frameworks_wilhelm-e030579a0265d2c2b6b811b0db05024421877411.zip
Suppress -Winitializer-overrides warnings in frameworks/wilhelm.
MPH_to.c was carefully designed to override initializers to make sure all the unset values are initialized as -1. This CL suppresses this warning. Bug: 27147881 Change-Id: I8fe44892a2f6e38b22f695b99150763dbd1ca704
-rw-r--r--src/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Android.mk b/src/Android.mk
index 601321c..895f754 100644
--- a/src/Android.mk
+++ b/src/Android.mk
@@ -21,7 +21,7 @@ include $(CLEAR_VARS)
LOCAL_C_INCLUDES:= \
$(call include-path-for, wilhelm)
-LOCAL_CFLAGS += -Wno-override-init
+LOCAL_CFLAGS += -Wno-initializer-overrides
# -Wno-missing-field-initializers
# optional, see comments in MPH_to.c: -DUSE_DESIGNATED_INITIALIZERS -S
# and also see ../tools/mphgen/Makefile