From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kriang Lerdsuwanakij To: egcs@cygnus.com Cc: kate@ahab.rutgers.edu Subject: Re: bastring.h trouble on mips-sgi-irix5.2 Date: Mon, 10 Nov 1997 19:34:00 -0000 Message-id: <3467CFDB.5FE1@scf.usc.edu> References: <25430.879185330@cygnus.com> X-SW-Source: 1997-11/msg00388.html I got the same problem yesterday. I solved it by deleting all empty files in the libstdc++ directory (such as 'iterator', 'vector', etc.). 'patch' didn't delete old files that are no longer part of the 971105 snapshot. Kriang Jeffrey A Law wrote: > > ------- Forwarded Message > > Received: from ahab.rutgers.edu (ahab.rutgers.edu [128.6.142.5]) > by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id GAA27054 > for ; Fri, 7 Nov 1997 06:39:48 -0800 (PST) > Received: (from kate@localhost) by ahab.rutgers.edu (8.8.2/8.7.3) id JAA03502 f > or egcs@cygnus.com; Fri, 7 Nov 1997 09:41:56 -0500 (EST) > Date: Fri, 7 Nov 1997 09:41:56 -0500 (EST) > From: Kate Hedstrom > Message-Id: <199711071441.JAA03502@ahab.rutgers.edu> > To: egcs@cygnus.com > Subject: bastring.h trouble on mips-sgi-irix5.2 > > I tried a "make bootstrap-lean" on mips-sgi-irix5.2, > xxxconfig.status has --host=mips-sgi-irix5.2 --with-gnu-as --norecursion. > The build failed with: > > /d0/kate/gnu/egcs-971105/gcc/xgcc > - -B/d0/kate/gnu/egcs-971105/gcc/ -c -g -O2 -fno-implicit-templates -I. > - -I./stl -I../libio -I./../libio -nostdinc++ stdexcepti.cc > In file included from string:6, > from stdexcept:36, > from stdexcepti.cc:8: > std/bastring.h:115: parse error before `<' > std/bastring.h:116: parse error before `<' > std/bastring.h:372: syntax error before `(' > std/bastring.h: In method `basic_string::basic_string()': > std/bastring.h:144: class `basic_string' does not have > any field named `dat' > std/bastring.h: In method > `basic_string::basic_string(const class > basic_string &)': > std/bastring.h:145: class `basic_string' does not have > any field named `dat' > > and so on. The first two lines it complains about are: > > 115 typedef ::reverse_iterator reverse_iterator; > 116 typedef ::reverse_iterator const_reverse_iterator; > > Anyone know what it is complaining about? > > ------- End of Forwarded Message