This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Can't build gcc trunk on cygwin: cp/parser.c:6484: error: `pending_lang_change' undeclared (first use in this function)
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: Andreas Tobler <toa at pop dot agri dot ch>, Christian J?nsson <c dot christian dot joensson at telia dot com>, gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: 31 Dec 2002 22:59:40 +0100
- Subject: Re: Can't build gcc trunk on cygwin: cp/parser.c:6484: error: `pending_lang_change' undeclared (first use in this function)
- Organization: Integrable Solutions
- References: <20021231113202.GA1292@j-son.org> <3E11829A.1020007@pop.agri.ch><m34r8uxuv9.fsf@uniton.integrable-solutions.net><20021231170238.GB16685@daikokuya.co.uk>
Neil Booth <neil@daikokuya.co.uk> writes:
| Gabriel Dos Reis wrote:-
|
| > 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;
| > +
|
| Actually it's in c-lex.c. Ugh.
This appears to correct the bootstrap breakage on x86 and PPC. I
suspect Mark's recent patch would do what you want,
-- Gaby