Record Detail

Compile Error

/in/compile/dlist_driver.cpp: In function 'int main()':
/in/compile/dlist_driver.cpp:31:5: error: conflicting declaration of C function 'int main()'
 int main() {
     ^~~~
In file included from /in/compile/Dlist.h:80:0,
                 from /in/compile/dlist_driver.cpp:6:
/in/DlistImpl.h:126:5: note: previous declaration 'int main(int, char**)'
 int main(int argc, char *argv[]) {
     ^~~~
/in/compile/Makefile:10: recipe for target 'buildDlist' failed
make: *** [buildDlist] Error 1

Information

Submit By
Type
Submission
Homework
Project Five: List, Stack, and Queue
Language
C++
Submit At
2022-07-27 18:53:01
Judged At
2022-07-27 18:53:01
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes