egcs 1.1.1 : 2 missing features
Pasha Murat
murat@cdfsga.fnal.gov
Sun Dec 6 10:12:00 GMT 1998
Dear EGCS developers,
first of all - my congratulations with the new release! It is a real
step forward. Let me however report on 2 features of ANSI C++ which still
seem to be not supported in egcs 1.1.1 (I apologize in advance if I'm
missing smth).
- I failed to find `bitset' (or `bitset.h') include file corresponding to
STL `bitset' class
- it seems that support of namespaces is still sort of limited - the piece
of code enclosed below doesn't compile.
You guys are doing a great job! -thanks, pasha.
--------------------------------------------------------------------------------
/data69/upgrade/murat/r2>cat bug/bug001.cc
class A {
public:
virtual a(float x);
};
class B : public A {
public:
using A::a;
virtual a(float x);
virtual a(int x);
};
/data69/upgrade/murat/r2>gcc -v -c bug/bug001.cc
Reading specs from /data69/upgrade/murat/egcs-1.1.1/lib/gcc-lib/mips-sgi-irix5.3/egcs-2.91.60/specs
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
/data69/upgrade/murat/egcs-1.1.1/lib/gcc-lib/mips-sgi-irix5.3/egcs-2.91.60/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91 -Dunix -Dmips -Dsgi -Dhost_mips -DMIPSEB -D_MIPSEB -DSYSTYPE_SVR4 -D_SVR4_SOURCE -D_MODERN_C -D__DSO__ -D_MIPS_SIM=_MIPS_SIM_ABI32 -D_MIPS_SZPTR=32 -D__unix__ -D__mips__ -D__sgi__ -D__host_mips__ -D__MIPSEB__ -D_MIPSEB -D__SYSTYPE_SVR4__ -D_SVR4_SOURCE -D_MODERN_C -D__DSO__ -D_MIPS_SIM=_MIPS_SIM_ABI32 -D_MIPS_SZPTR=32 -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__ -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_LONGLONG -D_MIPS_FPSET=16 -D_MIPS_ISA=_MIPS_ISA_MIPS1 -D_MIPS_SZINT=32 -D_MIPS_SZLONG=32 bug/bug001.cc /var/tmp/cc8qbOwk.ii
GNU CPP version egcs-2.91.60 19981201 (egcs-1.1.1 release) [AL 1.1, MM 40] SGI running IRIX 5.x
#include "..." search starts here:
#include <...> search starts here:
/data69/upgrade/murat/egcs-1.1.1/include/g++
/data69/upgrade/murat/egcs-1.1.1/mips-sgi-irix5.3/include
/data69/upgrade/murat/egcs-1.1.1/lib/gcc-lib/mips-sgi-irix5.3/egcs-2.91.60/include
/usr/include
End of search list.
/data69/upgrade/murat/egcs-1.1.1/lib/gcc-lib/mips-sgi-irix5.3/egcs-2.91.60/cc1plus /var/tmp/cc8qbOwk.ii -quiet -dumpbase bug001.cc -version -o /var/tmp/cc8mDxqF.s
GNU C++ version egcs-2.91.60 19981201 (egcs-1.1.1 release) (mips-sgi-irix5.3) compiled by GNU C version egcs-2.91.57 19980901 (egcs-1.1 release).
bug/bug001.cc:12: cannot adjust access to `int A::a(float)' in `class B'
bug/bug001.cc:11: because of local method `int B::a(int)' with same name
More information about the Gcc-bugs
mailing list