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.

On jeudi 17 février 2011, Jonathan Wakely wrote:
> On 17 February 2011 11:03, Pascal Francq wrote:
> > Is this a problem related to a misunderstood concept from me, a wrong
> > implementation or a technical problem of g++ ?
> 
> In any of those cases, such questions are off-topic on this mailing
> list, which is for development of gcc, not help using it.  Please see
> http://gcc.gnu.org/lists.html and ask the question on the gcc-help
> list, thanks.
> 
> I believe G++ is correct in this case.


-- 

Dr. Ir. Pascal Francq
BELGIUM

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to