In file included from /in/Compile/dlist_pre.cpp:2:
In file included from /in/Compile/dlist.h:78:
/in/dlist_impl.h:126:17: error: declaration of 'T' shadows template parameter
template <class T>
^
/in/dlist_impl.h:117:17: note: template parameter is declared here
template <class T>
^
/in/dlist_impl.h:127:12: error: reference to 'T' is ambiguous
void Dlist<T>::copyAll(const Dlist<T> &l)
^
/in/dlist_impl.h:126:17: note: candidate found by name lookup is 'T'
template <class T>
^
/in/dlist_impl.h:117:17: note: candidate found by name lookup is 'T'
template <class T>
^
/in/dlist_impl.h:127:12: error: reference to 'T' is ambiguous
void Dlist<T>::copyAll(const Dlist<T> &l)
^
/in/dlist_impl.h:126:17: note: candidate found by name lookup is 'T'
template <class T>
^
/in/dlist_impl.h:117:17: note: candidate found by name lookup is 'T'
template <class T>
^
/in/dlist_impl.h:127:36: error: reference to 'T' is ambiguous
void Dlist<T>::copyAll(const Dlist<T> &l)
^
/in/dlist_impl.h:126:17: note: candidate found by name lookup is 'T'
template <class T>
^
/in/dlist_impl.h:117:17: note: candidate found by name lookup is 'T'
template <class T>
^
/in/dlist_impl.h:127:36: error: reference to 'T' is ambiguous
void Dlist<T>::copyAll(const Dlist<T> &l)
^
/in/dlist_impl.h:126:17: note: candidate found by name lookup is 'T'
template <class T>
^
/in/dlist_impl.h:117:17: note: candidate found by name lookup is 'T'
template <class T>
^
/in/dlist_impl.h:127:16: error: out-of-line definition of 'copyAll' does not match any declaration in 'Dlist<T>'
void Dlist<T>::copyAll(const Dlist<T> &l)
^~~~~~~
/in/Compile/dlist.h:63:10: note: member declaration nearly matches
void copyAll(const Dlist &l);
^
In file included from /in/Compile/dlist_pre.cpp:2:
In file included from /in/Compile/dlist.h:78:
/in/dlist_impl.h:137:9: error: reference to 'T' is ambiguous
T *op = new T;
^
/in/dlist_impl.h:126:17: note: candidate found by name lookup is 'T'
template <class T>
^
/in/dlist_impl.h:117:17: note: candidate found by name lookup is 'T'
template <class T>
^
/in/dlist_impl.h:138:10: error: use of undeclared identifier 'op'
*op = *(temp->op);
^
/in/dlist_impl.h:139:20: error: use of undeclared identifier 'op'
insertBack(op);
^
9 errors generated.
/in/Compile/Makefile:29: recipe for target 'buildDlistPretest' failed
make: *** [buildDlistPretest] Error 1