summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-08-31 10:04:05 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-08-31 10:04:05 +0200
commit39ec0b5c41659dd24afd867a34381d4c7bdc4541 (patch)
tree9d0f4ced7a453de77e7431def808e61f8138deed
parentrelease-request-dbb5053c-c8af-4c07-a295-d7d7b281ce3f-for-git_pi-release-4306414 snap-temp-L16000000097876522 (diff)
parentMerge "Turn on -Wall for libedify" am: deb5de0bc1 am: 365059c61b am: 36983d8dd0 (diff)
downloadandroid_bootable_recovery-39ec0b5c41659dd24afd867a34381d4c7bdc4541.tar
android_bootable_recovery-39ec0b5c41659dd24afd867a34381d4c7bdc4541.tar.gz
android_bootable_recovery-39ec0b5c41659dd24afd867a34381d4c7bdc4541.tar.bz2
android_bootable_recovery-39ec0b5c41659dd24afd867a34381d4c7bdc4541.tar.lz
android_bootable_recovery-39ec0b5c41659dd24afd867a34381d4c7bdc4541.tar.xz
android_bootable_recovery-39ec0b5c41659dd24afd867a34381d4c7bdc4541.tar.zst
android_bootable_recovery-39ec0b5c41659dd24afd867a34381d4c7bdc4541.zip
-rw-r--r--edify/Android.mk4
-rw-r--r--edify/lexer.ll2
2 files changed, 4 insertions, 2 deletions
diff --git a/edify/Android.mk b/edify/Android.mk
index ffd54c208..baf4dd21d 100644
--- a/edify/Android.mk
+++ b/edify/Android.mk
@@ -28,7 +28,7 @@ LOCAL_SRC_FILES := \
$(edify_src_files) \
edify_parser.cpp
-LOCAL_CFLAGS := -Werror
+LOCAL_CFLAGS := -Wall -Werror
LOCAL_CPPFLAGS := -g -O0
LOCAL_MODULE := edify_parser
LOCAL_YACCFLAGS := -v
@@ -46,7 +46,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(edify_src_files)
-LOCAL_CFLAGS := -Werror
+LOCAL_CFLAGS := -Wall -Werror
LOCAL_CPPFLAGS := -Wno-unused-parameter
LOCAL_CPPFLAGS += -Wno-deprecated-register
LOCAL_MODULE := libedify
diff --git a/edify/lexer.ll b/edify/lexer.ll
index b764d1699..cb4594371 100644
--- a/edify/lexer.ll
+++ b/edify/lexer.ll
@@ -35,6 +35,8 @@ std::string string_buffer;
%x STR
+%option noinput
+%option nounput
%option noyywrap
%%