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
node.c:41:16: error: no member named 'val' in 'struct Node'
   41 |     free(head->val);
      |          ~~~~  ^
1 error generated.
node.c:41:16: error: no member named 'val' in 'struct Node'
   41 |     free(head->val);
      |          ~~~~  ^
1 error generated.
Makefile:13: recipe for target 'ex3' failed
make: *** [ex3] Error 1
make: *** Waiting for unfinished jobs....
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 21:54:58
Judged At
2023-10-29 21:54:58
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes