Can't build gcc trunk on cygwin: cp/parser.c:6484: error: `pending_lang_change' undeclared (first use in this function)
Gabriel Dos Reis
gdr@integrable-solutions.net
Tue Dec 31 07:13:00 GMT 2002
Andreas Tobler <toa@pop.agri.ch> writes:
| This patchlet from DJE helps on linuxppc and darwin. Though I don't
| know if correct.
Thanks,
I've committed the below.
-- Gaby
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/ChangeLog,v
retrieving revision 1.3104
diff -p -r1.3104 ChangeLog
*** ChangeLog 31 Dec 2002 00:11:46 -0000 1.3104
--- ChangeLog 31 Dec 2002 11:57:00 -0000
***************
*** 1,3 ****
--- 1,7 ----
+ 2002-12-31 Gabriel Dos Reis <gdr@integrable-solutions.net>
+
+ * cp-tree.h (pending_lang_change): Declare.
+
2002-12-30 Mark Mitchell <mark@codesourcery.com>
* parser.c (cp_parser_context_free_list): New variable.
Index: cp-tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/cp-tree.h,v
retrieving revision 1.788
diff -p -r1.788 cp-tree.h
*** cp-tree.h 30 Dec 2002 19:02:04 -0000 1.788
--- cp-tree.h 31 Dec 2002 11:57:03 -0000
*************** extern tree mangle_ref_init_variable
*** 4427,4432 ****
--- 4427,4435 ----
/* in dump.c */
extern int cp_dump_tree PARAMS ((void *, tree));
+ /* in parser.c */
+ extern int pending_lang_change;
+
/* -- end of C++ */
#endif /* ! GCC_CP_TREE_H */
More information about the Gcc
mailing list