OSDN Git Service

Disable gnu-variable-sized-type-not-at-end warning
authorJakub Pawlowski <jpawlowski@google.com>
Mon, 8 Feb 2016 23:21:53 +0000 (15:21 -0800)
committerAndre Eisenbach <eisenbach@google.com>
Thu, 18 Feb 2016 18:36:38 +0000 (10:36 -0800)
This warning is triggered unnecessary in too many places.
It spills through the build log and cause very useful warnings
to stay unnoticed.

Change-Id: Iee75327d05cbece4b9dc9c13005a9bfdf94c0d56

Android.mk

index eca25a0..0ac4e52 100644 (file)
@@ -27,6 +27,7 @@ bdroid_CFLAGS += \
   -Werror=pointer-to-int-cast \
   -Werror=int-to-pointer-cast \
   -Werror=implicit-function-declaration \
+  -Wno-gnu-variable-sized-type-not-at-end
   -UNDEBUG \
   -DLOG_NDEBUG=1