OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
303b9a5
)
Disable struct padding warning/error
author
Dan Stoza
<stoza@google.com>
Mon, 1 Dec 2014 23:03:34 +0000
(15:03 -0800)
committer
Dan 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
patch
|
blob
|
history
diff --git
a/libs/ui/Android.mk
b/libs/ui/Android.mk
index
72430d2
..
1ce8626
100644
(file)
--- 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 \