This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't build gcc trunk on cygwin: cp/parser.c:6484: error: `pending_lang_change'undeclared (first use in this function)


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;



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]