Add gcc's -Wundef to test suite and fix another warning from it.
authorJoel E. Denny <jdenny@clemson.edu>
Wed, 16 Dec 2009 18:19:19 +0000 (13:19 -0500)
committerJoel E. Denny <jdenny@clemson.edu>
Wed, 16 Dec 2009 18:32:50 +0000 (13:32 -0500)
commit34731471723c56a8596eadf2a2995d3ef4efc0f1
tree3325a2948347d6bf77cb152dcda3e192125d497d
parent3bba2dadae2c76440018345bfd73f56452e6932d
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.
(NO_WERROR_CFLAGS): Likewise.
(CXXFLAGS): Use WARN_CXXFLAGS_TEST instead of WARN_CXXFLAGS.
(cherry picked from commit a603c6e0bb8b9e79d4136ee0fd0d1bf6a7d010ef)
ChangeLog
NEWS
configure.ac
data/glr.c
tests/atlocal.in