From 42af27817360d338f83fed4b87a535bb0ac4e65b Mon Sep 17 00:00:00 2001 From: Dan Stoza Date: Mon, 1 Dec 2014 15:03:34 -0800 Subject: [PATCH] Disable struct padding warning/error Adds -Wno-padded, which was triggering on 64-bit devices Change-Id: If27bac27881f2081a222b32213901f5087554b07 (cherry picked from commit 4e84bd310c876e1450077959333c87e6e83dbf63) --- libs/ui/Android.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/ui/Android.mk b/libs/ui/Android.mk index 72430d2eb..1ce862652 100644 --- a/libs/ui/Android.mk +++ b/libs/ui/Android.mk @@ -30,6 +30,9 @@ LOCAL_CPPFLAGS += -Wno-c++98-compat-pedantic # that they're non-portable as long as they're consistent within one execution LOCAL_CPPFLAGS += -Wno-four-char-constants +# Don't warn about struct padding +LOCAL_CPPFLAGS += -Wno-padded + LOCAL_SRC_FILES := \ Fence.cpp \ FramebufferNativeWindow.cpp \