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:130: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:27:12: error: unused variable 'copy' [-Werror=unused-variable]
T* copy = new T(*current->op);
^~~~
cc1plus: all warnings being treated as errors
/in/compile/Makefile:10: recipe for target 'buildDlist' failed
make: *** [buildDlist] Error 1