From b091d00710c88d10d8677b85d3c2ce6f264a8dbe Mon Sep 17 00:00:00 2001 From: Jorim Jaggi Date: Mon, 27 Jun 2016 13:46:03 -0700 Subject: Suppress warnings Fixes: 29634520 Bug: 28936996 Change-Id: Ibfba11dce42bcf3642f802f9ae05a6e302732bc3 --- gdx/jni/Android.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gdx/jni/Android.mk b/gdx/jni/Android.mk index 5b1eb61f4..5d4bc3c47 100644 --- a/gdx/jni/Android.mk +++ b/gdx/jni/Android.mk @@ -4,7 +4,9 @@ include $(CLEAR_VARS) LOCAL_MODULE := libgdx LOCAL_C_INCLUDES := -LOCAL_CFLAGS := -O2 -Wall +# Ignore warnings until they are fixed upstream. See https://github.com/libgdx/libgdx/issues/4169 +LOCAL_CFLAGS := -O2 -Wall -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function \ + -Wno-sign-compare -Wno-shift-negative-value -Wno-pointer-arith -Wno-invalid-noreturn LOCAL_LDLIBS := -lm -lGLESv2 -llog LOCAL_ARM_MODE := arm LOCAL_SDK_VERSION := 23 -- cgit v1.2.3