unrecognized tree code
Wed Sep 22 16:52:00 GMT 1999
When I compile this:
template <class TYPE, int SIZE = sizeof( TYPE )>
template <class OTHERTYPE>
class B : public A<OTHERTYPE>
on GCC 2.95.1 I get:
sorry, not implemented: initializer contains unrecognized tree code
It compiles fine with egcs 1.1.2.
Is this a typename thing? I must confess I don't know anything about
typename. The problem seems to stem from that default template
parameter. If it is a typename thing, where and why would the typename
Pawing through the archives of this list I found something from August
that smelled similar:
But applying that patch didn't solve my problem.
More information about the Gcc-bugs