In file included from /in/compile/Dlist.h:80:0,
from /in/compile/dlist_driver.cpp:6:
/in/DlistImpl.h: In instantiation of 'void Dlist<T>::copyAll(const Dlist<T>&) [with T = int]':
/in/DlistImpl.h:89:12: required from 'Dlist<T>::Dlist(const Dlist<T>&) [with T = int]'
/in/compile/dlist_driver.cpp:124:27: required from here
/in/DlistImpl.h:119:35: error: invalid conversion from 'int*' to 'int' [-fpermissive]
T *temp = new T (current->op);
~~~~~~~~~^~
/in/DlistImpl.h:120:9: error: invalid conversion from 'int' to 'int*' [-fpermissive]
this->insertBack(*temp);
^~~~
/in/DlistImpl.h:32:6: note: initializing argument 1 of 'void Dlist<T>::insertBack(T*) [with T = int]'
void Dlist<T>::insertBack(T *op) {
^~~~~~~~
/in/compile/Makefile:10: recipe for target 'buildDlist' failed
make: *** [buildDlist] Error 1