egcs-2.91.14 980315 : Internal compiler error 238.
Laurent Bonnaud
bonnaud@irisa.fr
Tue Mar 17 10:01:00 GMT 1998
Hi,
the following code does not compile :
template <class Type>
class CVector {
public:
CVector(int m);
~CVector();
operator CVector<int>() const
{
CVector<int> v(n);
return v;
}
operator CVector<long>() const
{
CVector<long> v(n);
return v;
}
};
% g++ e.cc
e.cc:8: Internal compiler error 238.
e.cc:8: Please submit a full bug report to `egcs-bugs@cygnus.com'.
--
Laurent.
More information about the Gcc-bugs
mailing list