[Bug c++/34727] problem with templates and inheritence

2008-01-09 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2008-01-10 02:15 --- All conforming compilers must reject this, in strict mode. See the 3.4 release notes for more details: http://gcc.gnu.org/gcc-3.4/changes.html -- pcarlini at suse dot de changed: What|Removed

[Bug c++/34727] problem with templates and inheritence

2008-01-09 Thread isenbaev at gmail dot com
--- Comment #2 from isenbaev at gmail dot com 2008-01-10 01:20 --- Sorry there was a missprint in a test code, here is a correct example: template class A { public: T x; }; template class B : public A { public: void clear() { x = 0; } };

[Bug c++/34727] problem with templates and inheritence

2008-01-09 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-01-09 17:19 --- >x = src.x; x is not dependent so it has to be found at the time of definition and cannot be found in the dependent parent class. -- pinskia at gcc dot gnu dot org changed: What|R