public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Failure in parser.c /stage 1 (actual stage=stage2)
@ 2002-12-31  5:01 Robert McNulty Junior
  2002-12-31  6:44 ` Andrew Pollard
  0 siblings, 1 reply; 2+ messages in thread
From: Robert McNulty Junior @ 2002-12-31  5:01 UTC (permalink / raw)
  To: gcc


stage1/xgcc.exe -Bstage1/ -B/usr/local/i686-pc-cygwin/bin/ -c   -g -O2 -DIN_
GCC
  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes  -fno-co
mmon
  -DHAVE_CONFIG_H   -DCYGWIN_CROSS_DIR=\"/usr/local/i686-pc-cygwin\" -I. -Ic
p -I
../../gcc/gcc -I../../gcc/gcc/cp -I../../gcc/gcc/config -I../../gcc/gcc/../i
nclu
de ../../gcc/gcc/cp/lex.c -o cp/lex.o
stage1/xgcc.exe -Bstage1/ -B/usr/local/i686-pc-cygwin/bin/ -c   -g -O2 -DIN_
GCC
  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes  -fno-co
mmon
  -DHAVE_CONFIG_H   -DCYGWIN_CROSS_DIR=\"/usr/local/i686-pc-cygwin\" -I. -Ic
p -I
../../gcc/gcc -I../../gcc/gcc/cp -I../../gcc/gcc/config -I../../gcc/gcc/../i
nclu
de ../../gcc/gcc/cp/parser.c -o cp/parser.o
../../gcc/gcc/cp/parser.c: In function `cp_parser_declaration_seq_opt':
../../gcc/gcc/cp/parser.c:6484: error: `pending_lang_change' undeclared
(first u
se in this function)
../../gcc/gcc/cp/parser.c:6484: error: (Each undeclared identifier is
reported o
nly once
../../gcc/gcc/cp/parser.c:6484: error: for each function it appears in.)
make[2]: *** [cp/parser.o] Error 1
make[2]: Leaving directory `/home/Robert/gcc-3.4/o2/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/home/Robert/gcc-3.4/o2/gcc'
make: *** [bootstrap] Error 2

Robert@BMJ2001 ~/gcc-3.4/o2
$



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Failure in parser.c /stage 1 (actual stage=stage2)
  2002-12-31  5:01 Failure in parser.c /stage 1 (actual stage=stage2) Robert McNulty Junior
@ 2002-12-31  6:44 ` Andrew Pollard
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Pollard @ 2002-12-31  6:44 UTC (permalink / raw)
  To: bmj2001; +Cc: gcc


"Robert McNulty Junior" <bmj2001@bellsouth.net> wrote:

> stage1/xgcc.exe -Bstage1/ -B/usr/local/i686-pc-cygwin/bin/ -c   -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes  -fno-common  -DHAVE_CONFIG_H   -DCYGWIN_CROSS_DIR=\"/usr/local/i686-pc-cygwin\" -I. -Icp -I../../gcc/gcc -I../../gcc/gcc/cp -I../../gcc/gcc/config -I../../gcc/gcc/../include ../../gcc/gcc/cp/parser.c -o cp/parser.o
>../../gcc/gcc/cp/parser.c: In function `cp_parser_declaration_seq_opt':
>../../gcc/gcc/cp/parser.c:6484: error: `pending_lang_change' undeclared
>(first use in this function)
>../../gcc/gcc/cp/parser.c:6484: error: (Each undeclared identifier is
>reported only once
>../../gcc/gcc/cp/parser.c:6484: error: for each function it appears in.)
>make[2]: *** [cp/parser.o] Error 1
>make[2]: Leaving directory `/home/Robert/gcc-3.4/o2/gcc'
>make[1]: *** [stage2_build] Error 2
>make[1]: Leaving directory `/home/Robert/gcc-3.4/o2/gcc'
>make: *** [bootstrap] Error 2

I've just seen this as well. I just added 'extern int pending_lang_change;'

% cvs diff -u
cvs server: Diffing .
Index: parser.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/cp/parser.c,v
retrieving revision 1.7
diff -u -r1.7 parser.c
--- parser.c    31 Dec 2002 00:11:47 -0000      1.7
+++ parser.c    31 Dec 2002 11:55:22 -0000
@@ -6455,6 +6455,8 @@
      declaration
      declaration-seq declaration  */

+extern int pending_lang_change;
+
 static void
 cp_parser_declaration_seq_opt (parser)
      cp_parser *parser;

The compile completed, and the compiler appears to work :-)

Andrew.
--
 Andrew Pollard, Brooks-PRI Automation  | home: andrew@andypo.net
670 Eskdale Road, Winnersh Triangle, UK | work: Andrew.Pollard@brooks-pri.com
 Tel/Fax:+44 (0)118 9215603 / 9215660   | http://www.andypo.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-31 11:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-31  5:01 Failure in parser.c /stage 1 (actual stage=stage2) Robert McNulty Junior
2002-12-31  6:44 ` Andrew Pollard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).