cc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations stdlib/setstate.c -o stdlib/setstate -D_POSIX_C_SOURCE=202405L -lm -lpthread -liconv stdlib/setstate.c:11:9: error: incompatible function pointer types initializing 'char *(*)(char *)' with an expression of type 'char *(const char *)' [-Wincompatible-function-pointer-types] 11 | char *(*foo)(char *) = setstate; | ^ ~~~~~~~~ 1 error generated.