This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: libstdc++ current CVS refuses to compile on mips-sgi-irix-6.5
Gabriel Dos_Reis wrote:
> Gilles Zunino <Gilles.Zunino@hei.fupl.asso.fr> writes:
[errors snipped]
> Thanks for your feedback. Could you manage to send us the output of
> the preprocessor (g++ -E) on libstdc++/bits/c++config.h?
First I want to apologize. I forgot to add the output of the
compiler (iios.ii) to my previous mail.
I've attached two files : the output of the preprocessor
of the file being compiled (i.e. iios.ii) and the result of
the command : g++ -E libstdc++/bits/c++config.h
If you need something else, please let me know. I'm willing
to help you as far as I can.
=========================== compiler version ======================
c++ -v
Reading specs from
/usr/people/gilles/gcc/lib/gcc-lib/mips-sgi-irix6.5/egcs-2.93.21/specs
gcc version egcs-2.93.21 19990504 (gcc2 ss-980929 experimental)
========================= c++ was invoked using ====================
c++ -v --save-temps -DHAVE_CONFIG_H -I. -I../../libstdc++/src -I..
-nostdinc++ -I../../libstdc++ -I../../libstdc++/stl
-I../../libstdc++/libio -g -fvtable-thunks -D_GNU_SOURCE
-fno-implicit-templates -c -DPIC ../../libstdc++/src/ios.cc -o
.libs/ios.lo
===================== ouptut of the command line ===================
Reading specs from
/usr/people/gilles/gcc/lib/gcc-lib/mips-sgi-irix6.5/egcs-2.93.21/specs
gcc version egcs-2.93.21 19990504 (gcc2 ss-980929 experimental)
/usr/people/gilles/gcc/lib/gcc-lib/mips-sgi-irix6.5/egcs-2.93.21/cpp
-lang-c++ -nostdinc++ -v -I. -I../../libstdc++/src -I..
-I../../libstdc++ -I../../libstdc++/stl -I../../libstdc++/libio
-D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=93 -Dunix
-Dmips -Dsgi -Dhost_mips -DMIPSEB -D_MIPSEB -DSYSTYPE_SVR4 -D_LONGLONG
-D_SVR4_SOURCE -D_MODERN_C -D__DSO__ -D__unix__ -D__mips__ -D__sgi__
-D__host_mips__ -D__MIPSEB__ -D_MIPSEB -D__SYSTYPE_SVR4__ -D_LONGLONG
-D_SVR4_SOURCE -D_MODERN_C -D__DSO__ -D__unix -D__mips -D__sgi
-D__host_mips -D__MIPSEB -D__SYSTYPE_SVR4 -Asystem(unix) -Asystem(svr4)
-Acpu(mips) -Amachine(sgi) -D__EXCEPTIONS -D__CHAR_UNSIGNED__ -g
-D__LANGUAGE_C_PLUS_PLUS -D_LANGUAGE_C_PLUS_PLUS
-D__SIZE_TYPE__=unsigned int -D__PTRDIFF_TYPE__=int -D__EXTENSIONS__
-D_SGI_SOURCE -D_MIPS_FPSET=32 -D_MIPS_ISA=_MIPS_ISA_MIPS3 -D_ABIN32=2
-D_MIPS_SIM=_ABIN32 -D_MIPS_SZINT=32 -D_MIPS_SZLONG=32 -D_MIPS_SZPTR=32
-D_COMPILER_VERSION=601 -U__mips -D__mips=3 -D__mips64 -DHAVE_CONFIG_H
-D_GNU_SOURCE -DPIC ../../libstdc++/src/ios.cc ios.ii
GNU CPP version egcs-2.93.21 19990504 (gcc2 ss-980929 experimental) [AL
1.1, MM 40] SGI running IRIX 6.x
#include "..." search starts here:
#include <...> search starts here:
.
../../libstdc++/src
..
../../libstdc++
../../libstdc++/stl
../../libstdc++/libio
/usr/local/include
/usr/people/gilles/gcc/lib/gcc-lib/mips-sgi-irix6.5/egcs-2.93.21/../../../../mips-sgi-irix6.5/include
/usr/people/gilles/gcc/lib/gcc-lib/mips-sgi-irix6.5/egcs-2.93.21/include
/usr/include
End of search list.
The following default directories have been omitted from the search
path:
/usr/people/gilles/gcc/lib/gcc-lib/mips-sgi-irix6.5/egcs-2.93.21/../../../../include/g++-2
End of omitted list.
/usr/people/gilles/gcc/lib/gcc-lib/mips-sgi-irix6.5/egcs-2.93.21/cc1plus
ios.ii -quiet -dumpbase ios.cc -g -version -fvtable-thunks
-fno-implicit-templates -o ios.s
GNU C++ version egcs-2.93.21 19990504 (gcc2 ss-980929 experimental)
(mips-sgi-irix6.5) compiled by GNU C version egcs-2.93.21 19990504 (gcc2
ss-980929 experimental).
In file included from ../../libstdc++/bits/std_ios.h:69,
from ../../libstdc++/src/ios.cc:34:
../../libstdc++/bits/locfacets.h:46: `_S' was not declared in this scope
../../libstdc++/bits/locfacets.h:46: enumerator value for `space' not
integer constant
../../libstdc++/bits/locfacets.h:47: `_P' was not declared in this scope
../../libstdc++/bits/locfacets.h:47: `_U' was not declared in this scope
../../libstdc++/bits/locfacets.h:47: `_L' was not declared in this scope
../../libstdc++/bits/locfacets.h:47: `_N' was not declared in this scope
../../libstdc++/bits/locfacets.h:47: `_X' was not declared in this scope
../../libstdc++/bits/locfacets.h:47: enumerator value for `print' not
integer constant
../../libstdc++/bits/locfacets.h:48: `_C' was not declared in this scope
../../libstdc++/bits/locfacets.h:48: enumerator value for `cntrl' not
integer constant
../../libstdc++/bits/locfacets.h:49: `_U' was not declared in this scope
../../libstdc++/bits/locfacets.h:49: enumerator value for `upper' not
integer constant
../../libstdc++/bits/locfacets.h:50: `_L' was not declared in this scope
../../libstdc++/bits/locfacets.h:50: enumerator value for `lower' not
integer constant
../../libstdc++/bits/locfacets.h:51: `_U' was not declared in this scope
../../libstdc++/bits/locfacets.h:51: `_L' was not declared in this scope
../../libstdc++/bits/locfacets.h:51: enumerator value for `alpha' not
integer constant
../../libstdc++/bits/locfacets.h:52: `_N' was not declared in this scope
../../libstdc++/bits/locfacets.h:52: enumerator value for `digit' not
integer constant
../../libstdc++/bits/locfacets.h:53: `_P' was not declared in this scope
../../libstdc++/bits/locfacets.h:53: enumerator value for `punct' not
integer constant
../../libstdc++/bits/locfacets.h:54: `_X' was not declared in this scope
../../libstdc++/bits/locfacets.h:54: enumerator value for `xdigit' not
integer constant
../../libstdc++/bits/locfacets.h:55: `_U' was not declared in this scope
../../libstdc++/bits/locfacets.h:55: `_L' was not declared in this scope
../../libstdc++/bits/locfacets.h:55: `_N' was not declared in this scope
../../libstdc++/bits/locfacets.h:55: enumerator value for `alnum' not
integer constant
../../libstdc++/bits/locfacets.h:56: `_P' was not declared in this scope
../../libstdc++/bits/locfacets.h:56: `_U' was not declared in this scope
../../libstdc++/bits/locfacets.h:56: `_L' was not declared in this scope
../../libstdc++/bits/locfacets.h:56: `_N' was not declared in this scope
../../libstdc++/bits/locfacets.h:56: `_X' was not declared in this scope
../../libstdc++/bits/locfacets.h:57: enumerator value for `graph' not
integer constant
In file included from ../../libstdc++/src/ios.cc:36:
../../libstdc++/bits/std_istream.h: In method `class
basic_istream<_CharT,_Traits> &
basic_istream<_CharT,_Traits>::ignore(int = 1, typename
_Traits::int_type = _Traits::eof())':
../../libstdc++/bits/std_istream.h:415: parse error before `>'
../../libstdc++/bits/std_istream.h:418: parse error before `)'
../../libstdc++/bits/std_istream.h:428: confused by earlier errors,
bailing out
_________________________________________________________________
Gilles Zunino - (Gilles.Zunino@hei.fupl.asso.fr) (A 506) 7636
HEI, 13 rue de Toul, 59 046 LILLE CEDEX FRANCE
Phone : (+33) 3 28.38.48.58 Fax : (+33) 3 28.38.48.04
ios.ii.gz
# 1 "libstdc++/bits/c++config.h"
enum
{
_ISupper = (1 << 0 ) ,
_ISlower = (1 << 1 ) ,
_ISalpha = (1 << 2 ) ,
_ISdigit = (1 << 3 ) ,
_ISxdigit = (1 << 4 ) ,
_ISspace = (1 << 5 ) ,
_ISprint = (1 << 6 ) ,
_ISgraph = (1 << 7 ) ,
_ISblank = (1 << 8 ) ,
_IScntrl = (1 << 9 ) ,
_ISpunct = (1 << 10 ) ,
_ISalnum = (1 << 11 )
};