OSDN Git Service

Disable struct padding warning/error
authorDan Stoza <stoza@google.com>
Mon, 1 Dec 2014 23:03:34 +0000 (15:03 -0800)
committerDan Stoza <stoza@google.com>
Mon, 1 Dec 2014 23:03:34 +0000 (15:03 -0800)
Adds -Wno-padded, which was triggering on 64-bit devices

Change-Id: If27bac27881f2081a222b32213901f5087554b07

libs/ui/Android.mk

index 72430d2..1ce8626 100644 (file)
@@ -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 \