[Bug c++/35525] function in template can depend on superclass

2008-03-10 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2008-03-10 18:28 --- *** Bug 35527 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35525

[Bug c++/35525] function in template can depend on superclass

2008-03-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-03-10 16:57 --- Read: http://gcc.gnu.org/gcc-3.4/changes.html This code is invalid and the error message explains exactly why, The function call is non dependent so it has to be available and cannot defined in a dependent supercl