Khem Raj raj.khem@gmail.com writes:
GCC-15 complains about this when trying to build on musl
Sorry for late reply, but should be fixed with nettle-3.10.2.
diff --git a/getopt.c b/getopt.c index 9d29de7..5b89302 100644 --- a/getopt.c +++ b/getopt.c @@ -136,7 +136,7 @@ static struct _getopt_data getopt_data; whose names are inconsistent. */
#ifndef getenv -extern char *getenv (); +extern char *getenv (const char *); #endif
#endif /* not __GNU_LIBRARY__ */
Just deleting all of the #if block with the old-style declaration of getenv seems to work too.
Regards, /Niels