On Solaris 11.4 (both x86 and sparc based), I see this warning: gltests/test-random.c:24:18: warning: initialization of 'char * (*)(char *)' from incompatible pointer type 'char * (*)(const char *)' [-Wincompatible-pointer-types]
Let me update the doc. The warning is not worth silencing. 2023-06-25 Bruno Haible <br...@clisp.org> doc: Update doc regarding 'setstate'. * doc/posix-functions/setstate.texi: Mention also Solaris 11.4. diff --git a/doc/posix-functions/setstate.texi b/doc/posix-functions/setstate.texi index 826533f881..554d67d667 100644 --- a/doc/posix-functions/setstate.texi +++ b/doc/posix-functions/setstate.texi @@ -21,5 +21,5 @@ @item This function has a slightly incompatible declaration (the argument type being @samp{const char *} instead of @samp{char *}) on some platforms: -macOS 11.1, AIX 7.1, HP-UX 11.31, IRIX 6.5, Solaris 11 OpenIndiana. +macOS 11.1, AIX 7.1, HP-UX 11.31, IRIX 6.5, Solaris 11.4, Solaris 11 OpenIndiana. @end itemize