Record Detail

Compile Error

prepare (1/3): 
finished

make (2/3): 
clang-17 -std=gnu11 -O2 -Wall -Wextra -Werror -pedantic -Wno-unused-result -Wconversion -Wvla -o l5 *.c
clang-17 -std=gnu11 -O2 -Wall -Wextra -Werror -pedantic -Wno-unused-result -Wconversion -Wvla -fsanitize=address -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=integer -o l5_memory_check *.c
lab5_dlist.c:143:15: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
  143 | Node *initNode() {
      |               ^
      |                void
lab5_dlist.c:163:11: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
  163 | Node *init() {
      |           ^
      |            void
lab5_dlist.c:143:15: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
  143 | Node *initNode() {
      |               ^
      |                void
lab5_dlist.c:163:11: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
  163 | Node *init() {
      |           ^
      |            void
2 errors generated.
2 errors generated.
Makefile:16: recipe for target 'l5_memory_check' failed
make: *** [l5_memory_check] Error 1
make: *** Waiting for unfinished jobs....
Makefile:13: recipe for target 'l5' failed
make: *** [l5] Error 1

build failed

Information

Submit By
Type
Submission
Homework
l5
Language
GNU Make
Submit At
2023-10-28 17:10:07
Judged At
2023-10-30 12:11:05
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes