bastring.h trouble on mips-sgi-irix5.2
Toon Moene
toon@moene.indiv.nluug.nl
Mon Nov 10 16:08:00 GMT 1997
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'
More information about the Gcc
mailing list