From mboxrd@z Thu Jan 1 00:00:00 1970 From: Toon Moene To: law@cygnus.com Cc: egcs@cygnus.com Subject: Re: bastring.h trouble on mips-sgi-irix5.2 Date: Mon, 10 Nov 1997 16:08:00 -0000 Message-id: <9711102343.AA01932@moene.indiv.nluug.nl> References: <25430.879185330@cygnus.com> X-SW-Source: 1997-11/msg00378.html Kate wrote: - - - - - - - - - - 8< - - - - - - - - - - - - 8< - - - - - - - - - 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; - - - - - - - - - - 8< - - - - - - - - - - - - 8< - - - - - - - - - I got exactly the same error as Kate, on m68k-next-nextstep3, after repairing the fact that, as distributed, egcs doesn't `fixinclude' the directory /NextDeveloper/Headers. However, I do note that not everyone is reporting this error. Might it be that I get it because I updated egcs from egcs-971031 to egcs-971105 using the ...diff.gz ? Kate ? HTH, Toon. BTW: I did `./configure --prefix=/usr/test; make bootstrap'