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
main.c:23:14: error: incompatible pointer to integer conversion assigning to 'char' from 'char *'; dereference with * [-Wint-conversion]
23 | *val = strdup(data);
| ^ ~~~~~~~~~~~~
| *
1 error generated.
main.c:23:14: error: incompatible pointer to integer conversion assigning to 'char' from 'char *'; dereference with * [-Wint-conversion]
23 | *val = strdup(data);
| ^ ~~~~~~~~~~~~
| *
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