a template regression
scott snyder
snyder@d0sgif.fnal.gov
Thu Feb 26 12:01:00 GMT 1998
hi -
egcs gives an error on the following input.
This sort of construction worked until recently.
(This egcs identifies itself as
`gcc version egcs-2.91.09 980221 (gcc-2.8.0 release)';
it was checked out the afternoon of Feb. 25.
The platform is mips-sgi-irix6.2.)
----------------------------------
class alloc {};
template <class T, class Alloc = alloc>
struct list {
friend bool operator== <> (const list& x, const list& y);
};
template <class T>
class d0_List_1
: public list<T>
{
};
----------------------------------
x.cpp:11: `__eq<>' does not match any template declaration
x.cpp:11: confused by earlier errors, bailing out
thanks,
sss
More information about the Gcc-bugs
mailing list