[FIX] check_test.c: In function ‘setup’: check_test.c:12:43: error: ‘pointer’ undeclared (first use in this function) check_test.c:12:43: note: each undeclared identifier is reported only once for each function it appears in check_test.c:13:5: error: passing argument 2 of ‘new_base’ from incompatible pointer type [-Werror] ../src/treenode.h:36:11: note: expected ‘clean_fn’ but argument is of type ‘int (*)(void *, void *)’ check_test.c:13:5: error: too many arguments to function ‘new_base’ ../src/treenode.h:36:11: note: declared here check_test.c:15:29: error: ‘ptr_tree_base’ undeclared (first use in this function) check_test.c: In function ‘teardown’: check_test.c:27:10: error: ‘ptr_tree_base’ undeclared (first use in this function) cc1: all warnings being treated as errors
[FIX]
check_test.c: In function ‘setup’:
check_test.c:12:43: error: ‘pointer’ undeclared (first use in this function)
check_test.c:12:43: note: each undeclared identifier is reported only once for each function it appears in
check_test.c:13:5: error: passing argument 2 of ‘new_base’ from incompatible pointer type [-Werror]
../src/treenode.h:36:11: note: expected ‘clean_fn’ but argument is of type ‘int (*)(void *, void *)’
check_test.c:13:5: error: too many arguments to function ‘new_base’
../src/treenode.h:36:11: note: declared here
check_test.c:15:29: error: ‘ptr_tree_base’ undeclared (first use in this function)
check_test.c: In function ‘teardown’:
check_test.c:27:10: error: ‘ptr_tree_base’ undeclared (first use in this function)
cc1: all warnings being treated as errors

batousik/Practical-C2,batousik/Practical-C2