Re: templates and inheritance

2006-05-15 Thread Andrew Pinski
On May 15, 2006, at 9:15 PM, Bar-Tov Aharon-R53349 wrote: hello, something that seems like a problem (havn't found something in the bug base). template class t_base { public: T *ptr; }; template class t_derived : public t_base { public: t_derived() { ptr = NULL; } }; This is desc

templates and inheritance

2006-05-15 Thread Bar-Tov Aharon-R53349
hello, something that seems like a problem (havn't found something in the bug base). the following program produces an error message on g++ 3.4 and above (cygwin, if this matters). it does compile on 3.3.3 and other c++ compilers. thx ronny // #include #includ