/in/correct/dlist.c:121:49: error: incompatible function pointer types passing 'int (*const)(void *, void *)' to parameter of type '__compar_fn_t' (aka 'int (*)(const void *, const void *)') [-Werror,-Wincompatible-function-pointer-types]
qsort(temp, thisList->length, sizeof(node), cmp[thisList->type-1][method-1]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:828:20: note: passing argument to parameter '__compar' here
__compar_fn_t __compar) __nonnull ((1, 4));
^
/in/correct/dlist.c:102:11: error: unused variable 'tail' [-Werror,-Wunused-variable]
node* tail;
^
/in/correct/dlist.c:103:11: error: unused variable 'n' [-Werror,-Wunused-variable]
node* n;
^
/in/correct/dlist.c:104:11: error: unused variable 'prev' [-Werror,-Wunused-variable]
node* prev;
^
/in/correct/dlist.c:105:16: error: unused variable 't' [-Werror,-Wunused-variable]
dlistValue t;
^
/in/correct/dlist.c:106:11: error: unused variable 'm' [-Werror,-Wunused-variable]
char* m;
^
6 errors generated.