Merge "Turn on -Wall for libedify"

This commit is contained in:
Tianjie Xu 2017-08-30 23:04:53 +00:00 committed by Gerrit Code Review
commit deb5de0bc1
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -35,6 +35,8 @@ std::string string_buffer;
%x STR
%option noinput
%option nounput
%option noyywrap
%%