Bug in EGCS 1.1b (better than 1.0.3a though)
Christopher Curtis
ccurtis@ee.fit.edu
Thu Sep 17 19:44:00 GMT 1998
I'm no C++ expert so this could be faulty, but if nothing else the error
message is misleading:
--- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< ---
#include <complex>
template<class T>
class MoreComplex : public complex<T>
{ private:
static int References = 0;
};
int main( void )
{ MoreComplex<double> Object;
}
--- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< ---
1.0.3a gave linker errors (with additional code).
Christopher
More information about the Gcc-bugs
mailing list