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 *)' [-Werror,-Wincompatible-function-pointer-types] char *(*foo)(char *) = setstate; ^ ~~~~~~~~ 1 error generated.