[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bison/tests/actions.at port to GCC 3.4.0
From: |
Paul Eggert |
Subject: |
bison/tests/actions.at port to GCC 3.4.0 |
Date: |
Tue, 27 Apr 2004 23:07:25 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
I installed this obvious minor patch to port to GCC 3.4.0:
2004-04-27 Paul Eggert <address@hidden>
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Don't
declare yyerror when using lalr.cc, as GCC 3.4.0 warns about the
unused declaration.
Index: tests/actions.at
===================================================================
RCS file: /cvsroot/bison/bison/tests/actions.at,v
retrieving revision 1.29
diff -p -u -r1.29 actions.at
--- tests/actions.at 13 Apr 2004 17:43:15 -0000 1.29
+++ tests/actions.at 28 Apr 2004 06:04:47 -0000
@@ -336,8 +336,8 @@ AT_DATA_GRAMMAR([[input.y]],
%{
]AT_LALR1_CC_IF([typedef yy::Location YYLTYPE;])
[static int yylex (]AT_LEX_FORMALS[);
-static void yyerror (const char *msg);
-%}
+]AT_LALR1_CC_IF([], [static void yyerror (const char *msg);])
+[%}
%type <ival> 'x' ';' thing line input
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bison/tests/actions.at port to GCC 3.4.0,
Paul Eggert <=