[Mesa-dev] [PATCH 1/2] Android: disable some noisy warnings
Rob Herring
robh at kernel.org
Tue Jun 7 23:27:33 UTC 2016
Turn off warnings for -Wpointer-arith, -Wno-missing-field-initializers,
-Wno-initializer-overrides, and -Wno-mismatched-tags. These are all deemed
pointless, on purpose or no plans to fix.
Signed-off-by: Rob Herring <robh at kernel.org>
---
Android.common.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Android.common.mk b/Android.common.mk
index b866293..831cbe5 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -34,6 +34,10 @@ MESA_VERSION := $(shell cat $(MESA_TOP)/VERSION)
LOCAL_CFLAGS += \
-Wno-unused-parameter \
-Wno-date-time \
+ -Wno-pointer-arith \
+ -Wno-missing-field-initializers \
+ -Wno-initializer-overrides \
+ -Wno-mismatched-tags \
-DPACKAGE_VERSION=\"$(MESA_VERSION)\" \
-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\" \
-DANDROID_VERSION=0x0$(MESA_ANDROID_MAJOR_VERSION)0$(MESA_ANDROID_MINOR_VERSION)
--
2.7.4
More information about the mesa-dev
mailing list