On 17 February 2011 17:26, Pascal Francq wrote:
> In fact, since it is related on how g++ is implementing its heritage mechanism
> in C++, I was thinking it was the right mailing-list. In fact, by adding a
> convenient method in Super2, the code compiles :
>        template<class C> inline void Test(C* ptr) {Super<C>::Test(ptr);}
> This trick let me suppose that a problem may exist in the way g++ links a call
> to the corresponding method when it handles template classes.

Unless you're proposing a way to fix it (which you're not, you're
asking if there's something wrong, and there isn't) then gcc-help is
the right list.

Reply via email to