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
ex2.cex2.c:65:38: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
   65 |                 printf("Data: %s\n", data);
      |                               ~~     ^~~~
:65:38: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
   65 |                 printf("Data: %s\n", data);
      |                               ~~     ^~~~
1 error generated.
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-27 01:33:20
Judged At
2023-10-27 01:33:20
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes