------- Comment #3 from yuriry at gmail dot com  2008-03-30 22:29 -------
I believe that the main problem here is that GCC allows defining pure virtual
functions.  The compiler should report an error when these two functions are
defined:

//------------------------------------
void Base::pvMethod()
{
}

template<class T>
void TBase<T>::pvMethod()
{
}
//------------------------------------

I added bug #35772 to track this.


-- 

yuriry at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yuriry at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33878

Reply via email to