This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

971114 compilation problem



Hi,

I have tried to compile egcs-971114 on my linux box and this is what
I've got.  I have tried to compile it with both gcc-2.7.2.3 and
egcs-971031 and I've got the same error.

My system is Redhat 4.9 (beta), glibc2.

Is this a known problem?

Thank you,
Tudor


  /home/tudor/other/egcs-971114/gcc/xgcc -B/home/tudor/other/egcs-971114/gcc/ -c -O2 -g -fvtable-thunks -fno-implicit-templates -I. -I./stl -I../libio -I./../libio -nostdinc++ -D_PTHREADS  stdexcepti.cc -o pic/stdexcepti.o
/home/tudor/other/egcs-971114/gcc/xgcc -B/home/tudor/other/egcs-971114/gcc/ -c -O2 -g -fvtable-thunks -fno-implicit-templates -I. -I./stl -I../libio -I./../libio -nostdinc++ -D_PTHREADS 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'
std/bastring.h: In method `basic_string<charT,traits>::basic_string(const class basic_string<charT,traits> &, unsigned int, unsigned int = basic_string<charT,traits>::npos)':
std/bastring.h:147: class `basic_string<charT,traits>' does not have any field named `dat'
std/bastring.h: In method `basic_string<charT,traits>::basic_string(const charT *, unsigned int)':
std/bastring.h:149: class `basic_string<charT,traits>' does not have any field named `dat'
std/bastring.h: In method `basic_string<charT,traits>::basic_string(const charT *)':
std/bastring.h:151: class `basic_string<charT,traits>' does not have any field named `dat'
std/bastring.h: In method `basic_string<charT,traits>::basic_string(unsigned int, charT)':
std/bastring.h:153: class `basic_string<charT,traits>' does not have any field named `dat'
std/bastring.h: In method `basic_string<charT,traits>::basic_string(const charT *, const charT *)':
std/bastring.h:160: class `basic_string<charT,traits>' does not have any field named `dat'
std/bastring.h: At top level:
std/bastring.h:373: syntax error before `('
std/bastring.h:374: non-member function `rbegin()' cannot have `const' method qualifier
std/bastring.h: In function `int rbegin()':
std/bastring.h:374: warning: implicit declaration of function `int const_reverse_iterator(...)'
std/bastring.h:374: warning: implicit declaration of function `int end(...)'
std/bastring.h: At top level:
std/bastring.h:375: syntax error before `('
std/bastring.h:376: syntax error before `('
std/bastring.h:381: syntax error before `('
std/bastring.h:382: `size_type' was not declared in this scope
std/bastring.h:382: parse error before `)'
std/bastring.h:382: non-member function `check_realloc(...)' cannot have `const' method qualifier
std/bastring.h:384: syntax error before `;'
std/bastring.h:385: syntax error before `*'
std/bastring.h:433: semicolon missing after declaration of `class basic_string<charT,traits>'
std/bastring.h:615: parse error before `}'
std/bastring.h: In method `struct basic_string<char,string_char_traits<char> >::Rep * basic_string<char,string_char_traits<char> >::rep() const':
In file included from stdexcepti.cc:8:
std/bastring.h:120: `dat' undeclared (first use this function)
std/bastring.h:120: (Each undeclared identifier is reported only once
std/bastring.h:120: for each function it appears in.)
make[1]: *** [stdexcepti.o] Error 1
make[1]: Leaving directory `/home/tudor/other/egcs-971114/libraries/libstdc++'
make: *** [all-target-libstdc++] Error 2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]