Fine grainely disable warnings on lexer. Remove Wno-error on it.

* grub-core/Makefile.core.def (normal): Remove -Wno-error.
	* grub-core/script/lexer.c: Declare yytext_ptr to avoid having
	yylex_strncpy.
	* grub-core/script/yylex.l: Add fine-grained #pragma.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-10-23 23:32:06 +02:00
parent 4defb8d59b
commit 124df5f6ca
4 changed files with 14 additions and 1 deletions

View file

@ -1395,7 +1395,7 @@ module = {
extra_dist = script/yylex.l;
extra_dist = script/parser.y;
cflags = '$(CFLAGS_POSIX) -Wno-error';
cflags = '$(CFLAGS_POSIX)';
cppflags = '$(CPPFLAGS_POSIX)';
};