mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-23 11:13:03 +00:00
tests: fix missing include caught by g++ 4.4.1.
Reported by Tys Lefering. * HACKING (Release checks): Add note about trying a recent GCC. * tests/regression.at (_AT_DATA_DANCER_Y): For C++, include cstdlib for abort. (_AT_DATA_EXPECT2_Y): Likewise.
This commit is contained in:
@@ -1,3 +1,12 @@
|
|||||||
|
2010-01-22 Joel E. Denny <jdenny@clemson.edu>
|
||||||
|
|
||||||
|
tests: fix missing include caught by g++ 4.4.1.
|
||||||
|
Reported by Tys Lefering.
|
||||||
|
* HACKING (Release checks): Add note about trying a recent GCC.
|
||||||
|
* tests/regression.at (_AT_DATA_DANCER_Y): For C++, include
|
||||||
|
cstdlib for abort.
|
||||||
|
(_AT_DATA_EXPECT2_Y): Likewise.
|
||||||
|
|
||||||
2010-01-21 Joel E. Denny <jdenny@clemson.edu>
|
2010-01-21 Joel E. Denny <jdenny@clemson.edu>
|
||||||
|
|
||||||
* cfg.mk (gnulib_dir): Assume gnulib is a subdirectory.
|
* cfg.mk (gnulib_dir): Assume gnulib is a subdirectory.
|
||||||
|
|||||||
3
HACKING
3
HACKING
@@ -197,6 +197,9 @@ release:
|
|||||||
that it does not make sense for glr.c, which should be ANSI,
|
that it does not make sense for glr.c, which should be ANSI,
|
||||||
but currently is actually GNU C, nor for lalr1.cc.
|
but currently is actually GNU C, nor for lalr1.cc.
|
||||||
|
|
||||||
|
- Test with a very recent version of GCC for both C and C++. Testing
|
||||||
|
with older versions that are still in use is nice too.
|
||||||
|
|
||||||
|
|
||||||
* Release Procedure
|
* Release Procedure
|
||||||
|
|
||||||
|
|||||||
@@ -824,7 +824,7 @@ m4_define([_AT_DATA_DANCER_Y],
|
|||||||
[AT_DATA_GRAMMAR([dancer.y],
|
[AT_DATA_GRAMMAR([dancer.y],
|
||||||
[%{
|
[%{
|
||||||
static int yylex (AT_LALR1_CC_IF([int *], [void]));
|
static int yylex (AT_LALR1_CC_IF([int *], [void]));
|
||||||
AT_LALR1_CC_IF([],
|
AT_LALR1_CC_IF([#include <cstdlib>],
|
||||||
[#include <stdlib.h>
|
[#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
static void yyerror (const char *);])
|
static void yyerror (const char *);])
|
||||||
@@ -952,7 +952,7 @@ m4_define([_AT_DATA_EXPECT2_Y],
|
|||||||
[AT_DATA_GRAMMAR([expect2.y],
|
[AT_DATA_GRAMMAR([expect2.y],
|
||||||
[%{
|
[%{
|
||||||
static int yylex (AT_LALR1_CC_IF([int *], [void]));
|
static int yylex (AT_LALR1_CC_IF([int *], [void]));
|
||||||
AT_LALR1_CC_IF([],
|
AT_LALR1_CC_IF([#include <cstdlib>],
|
||||||
[#include <stdio.h>
|
[#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
static void yyerror (const char *);])
|
static void yyerror (const char *);])
|
||||||
|
|||||||
Reference in New Issue
Block a user