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

@ -1,3 +1,12 @@
2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
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.
2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/lib/posix_wrap/string.h (memcpy) [GRUB_UTIL]: