Record Detail

Compile Error

prepare (1/3): 
finished

make (2/3): 
clang -std=gnu11 -O2 -Wall -Wextra -Werror -pedantic -Wno-unused-result -Wconversion -Wvla -o ex3 *.c
clang -std=gnu11 -O2 -Wall -Wextra -Werror -pedantic -Wno-unused-result -Wconversion -Wvla -fsanitize=address -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=integer -o ex3_memory_check *.c
sort.c:131:103: error: expected ')'
  131 |         return (*((double *)a) > (*((double *)b)) ? 1 : ((*((double *)a) < (*((double *)b)) ? -1 : 0));
      |                                                                                                       ^
sort.c:131:16: note: to match this '('
  131 |         return (*((double *)a) > (*((double *)b)) ? 1 : ((*((double *)a) < (*((double *)b)) ? -1 : 0));
      |                ^
1 error generated.
Makefile:13: recipe for target 'ex3' failed
make: *** [ex3] Error 1
make: *** Waiting for unfinished jobs....
sort.c:131:103: error: expected ')'
  131 |         return (*((double *)a) > (*((double *)b)) ? 1 : ((*((double *)a) < (*((double *)b)) ? -1 : 0));
      |                                                                                                       ^
sort.c:131:16: note: to match this '('
  131 |         return (*((double *)a) > (*((double *)b)) ? 1 : ((*((double *)a) < (*((double *)b)) ? -1 : 0));
      |                ^
1 error generated.
Makefile:16: recipe for target 'ex3_memory_check' failed
make: *** [ex3_memory_check] Error 1

build failed

Information

Submit By
Type
Submission
Homework
h3
Language
GNU Make
Submit At
2023-10-29 20:52:31
Judged At
2023-10-29 20:52:31
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes