Can't build gcc trunk on cygwin: cp/parser.c:6484: error: `pending_lang_change' undeclared (first use in this function)
Andreas Tobler
toa@pop.agri.ch
Tue Dec 31 04:03:00 GMT 2002
This patchlet from DJE helps on linuxppc and darwin. Though I don't know
if correct.
Andreas
Index: parser.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/parser.c,v
retrieving revision 1.7
diff -c -p -r1.7 parser.c
*** parser.c 31 Dec 2002 00:11:47 -0000 1.7
--- parser.c 31 Dec 2002 02:10:44 -0000
*************** static void
*** 6459,6464 ****
--- 6459,6466 ----
cp_parser_declaration_seq_opt (parser)
cp_parser *parser;
{
+ extern int pending_lang_change;
+
while (true)
{
cp_token *token;
More information about the Gcc
mailing list