mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +00:00
Add gcc's -Wundef to test suite and fix another warning from it.
* NEWS (2.4.2): Update description of -Wundef fix.
* configure.ac (WARN_CXXFLAGS_TEST): New substitution.
(WARN_CFLAGS_TEST): New substitution.
* data/glr.c: Avoid warning about __STRICT_ANSI__.
* tests/atlocal.in (CFLAGS): Use WARN_CFLAGS_TEST instead of
WARN_CFLAGS.
(CXXFLAGS): Use WARN_CXXFLAGS_TEST instead of WARN_CXXFLAGS.
(cherry picked from commit a603c6e0bb)
Conflicts:
tests/atlocal.in
This commit is contained in:
5
NEWS
5
NEWS
@@ -5,8 +5,9 @@ Bison News
|
||||
|
||||
** Detection of GNU M4 1.4.6 or newer during configure is improved.
|
||||
|
||||
** Warnings from gcc's -Wundef option about undefined YYENABLE_NLS and
|
||||
YYLTYPE_IS_TRIVIAL in C/C++ parsers are now avoided.
|
||||
** Warnings from gcc's -Wundef option about undefined YYENABLE_NLS,
|
||||
YYLTYPE_IS_TRIVIAL, and __STRICT_ANSI__ in C/C++ parsers are now
|
||||
avoided.
|
||||
|
||||
** %code is now a permanent feature.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user