L
lobequadrat
Hello,
I am trying to get the following code work (unfortunately not
mine ... )
template <class T> class Test {
public:
class ELEM;
class CONST_ITERATOR {
const Test<T>testAttribute::ELEM* elem;
It can be compiled with g++ 2.95.3. But
g++ -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure --
disable-checking -enable-werror --prefix=/usr --mandir=/share/man --
enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg]
[^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-
slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-arch=nocona --
with-tune=generic --program-prefix= --host=i686-apple-darwin8 --
target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5367) complains with the
following error:
src/SlowNameToTMap.hh:23: error: type 'SLOW_NAME_TO_T_MAP<T>' is not
derived from type 'SLOW_NAME_TO_T_MAP<T>::CONST_ITERATOR'
Any advice would be nice ...
Greetings,
lobequadrat
I am trying to get the following code work (unfortunately not
mine ... )
template <class T> class Test {
public:
class ELEM;
class CONST_ITERATOR {
const Test<T>testAttribute::ELEM* elem;
It can be compiled with g++ 2.95.3. But
g++ -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure --
disable-checking -enable-werror --prefix=/usr --mandir=/share/man --
enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg]
[^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-
slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-arch=nocona --
with-tune=generic --program-prefix= --host=i686-apple-darwin8 --
target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5367) complains with the
following error:
src/SlowNameToTMap.hh:23: error: type 'SLOW_NAME_TO_T_MAP<T>' is not
derived from type 'SLOW_NAME_TO_T_MAP<T>::CONST_ITERATOR'
Any advice would be nice ...
Greetings,
lobequadrat