Turn on -Wall for libedify
Bug: 64939312 Test: mma Change-Id: Ia4afc6241b1f11ce261be6840f21a793b23014a6
This commit is contained in:
parent
11f68b6b69
commit
c7cd918c15
2 changed files with 4 additions and 2 deletions
|
@ -28,7 +28,7 @@ LOCAL_SRC_FILES := \
|
||||||
$(edify_src_files) \
|
$(edify_src_files) \
|
||||||
edify_parser.cpp
|
edify_parser.cpp
|
||||||
|
|
||||||
LOCAL_CFLAGS := -Werror
|
LOCAL_CFLAGS := -Wall -Werror
|
||||||
LOCAL_CPPFLAGS := -g -O0
|
LOCAL_CPPFLAGS := -g -O0
|
||||||
LOCAL_MODULE := edify_parser
|
LOCAL_MODULE := edify_parser
|
||||||
LOCAL_YACCFLAGS := -v
|
LOCAL_YACCFLAGS := -v
|
||||||
|
@ -46,7 +46,7 @@ include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_SRC_FILES := $(edify_src_files)
|
LOCAL_SRC_FILES := $(edify_src_files)
|
||||||
|
|
||||||
LOCAL_CFLAGS := -Werror
|
LOCAL_CFLAGS := -Wall -Werror
|
||||||
LOCAL_CPPFLAGS := -Wno-unused-parameter
|
LOCAL_CPPFLAGS := -Wno-unused-parameter
|
||||||
LOCAL_CPPFLAGS += -Wno-deprecated-register
|
LOCAL_CPPFLAGS += -Wno-deprecated-register
|
||||||
LOCAL_MODULE := libedify
|
LOCAL_MODULE := libedify
|
||||||
|
|
|
@ -35,6 +35,8 @@ std::string string_buffer;
|
||||||
|
|
||||||
%x STR
|
%x STR
|
||||||
|
|
||||||
|
%option noinput
|
||||||
|
%option nounput
|
||||||
%option noyywrap
|
%option noyywrap
|
||||||
|
|
||||||
%%
|
%%
|
||||||
|
|
Loading…
Reference in a new issue