From: Dan Stoza Date: Mon, 1 Dec 2014 23:03:34 +0000 (-0800) Subject: Disable struct padding warning/error X-Git-Tag: android-x86-6.0-r1~365 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4e84bd310c876e1450077959333c87e6e83dbf63;p=android-x86%2Fframeworks-native.git Disable struct padding warning/error Adds -Wno-padded, which was triggering on 64-bit devices Change-Id: If27bac27881f2081a222b32213901f5087554b07 --- diff --git a/libs/ui/Android.mk b/libs/ui/Android.mk index 72430d2eba..1ce8626522 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 \