On 5/10/24 6:52 AM, Simon Josefsson wrote:>> $ ./configure CC="gcc-14.1" CFLAGS="-std=c23 -Wstrict-prototypes" --enable-authentication --enable-encryption --with-krb5 > > Ah, you answered my request from the earlier email already :-)
:) > Looks good, and yes let's improve the compiler warning usage to catch > this. I added a new idiom in last libidn2 that make sense to backport, > then --enable-gcc-warnings=error should result in build failures (we > should make sure it enabled -Wstrict-prototypes). A C23 build would be > nice too, we alreayd build using latest gcc but not in C23 mode -- > adding that would be simple. I think that one should get enabled by Gnulib, but I am not very skilled at m4/autoconf. So I may be wrong... I'll fix the telnet ones in a bit. There are still some old K&R declarations and declarations missing prototypes for Kerberos 4 stuff. I'm leaving them unchanged since I have no way of testing them. Collin