Record Detail

Compile Error

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -o main.o -c main.cpp 
main.cpp: In function 'int main(int, char**)':
main.cpp:48:8: error: 'strcmp' was not declared in this scope
    if(!strcmp(optarg, "BINARY"))
        ^~~~~~
main.cpp:48:8: note: suggested alternative: 'strtoq'
    if(!strcmp(optarg, "BINARY"))
        ^~~~~~
        strtoq
main.cpp:50:8: error: 'strcmp' was not declared in this scope
    if(!strcmp(optarg, "UNSORTED"))
        ^~~~~~
main.cpp:50:8: note: suggested alternative: 'strtoq'
    if(!strcmp(optarg, "UNSORTED"))
        ^~~~~~
        strtoq
Makefile:13: recipe for target 'main.o' failed
make: *** [main.o] Error 1

build failed

Information

Submit By
Type
Submission
Homework
Lab05-PriorityQueues
Language
GNU Make
Submit At
2019-11-11 00:07:18
Judged At
2019-11-11 00:07:18
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes