Record Detail

Compile Error

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>::insertBack(T*) [with T = double]':
/in/compile/dlist_driver.cpp:70:23:   required from here
/in/DlistImpl.h:35:8: error: unused variable 't0' [-Werror=unused-variable]
     T *t0=op;
        ^~
/in/DlistImpl.h: In instantiation of 'void Dlist<T>::insertBack(T*) [with T = int]':
/in/compile/dlist_driver.cpp:96:23:   required from here
/in/DlistImpl.h:35:8: error: unused variable 't0' [-Werror=unused-variable]
cc1plus: all warnings being treated as errors
/in/compile/Makefile:10: recipe for target 'buildDlist' failed
make: *** [buildDlist] Error 1

Information

Submit By
Type
Submission
Homework
Project 5
Language
C++
Submit At
2023-07-26 15:43:33
Judged At
2023-07-26 15:43:33
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes