This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bastring.h trouble on mips-sgi-irix5.2
- To: law at cygnus dot com
- Subject: Re: bastring.h trouble on mips-sgi-irix5.2
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Tue, 11 Nov 97 00:43:50 +0100
- Cc: egcs at cygnus dot com
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <25430.879185330@cygnus.com>
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<charT,traits>::basic_string()':
std/bastring.h:144: class `basic_string<charT,traits>' does not have
any field named `dat'
std/bastring.h: In method
`basic_string<charT,traits>::basic_string(const class
basic_string<charT,traits> &)':
std/bastring.h:145: class `basic_string<charT,traits>' does not have
any field named `dat'
and so on. The first two lines it complains about are:
115 typedef ::reverse_iterator<iterator> reverse_iterator;
116 typedef ::reverse_iterator<const_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'