Hi Bruno, On 2/7/23 15:20, Bruno Haible wrote:
Alejandro Colomar wrote:the last reducts of GCC defaulting to gnu89The default standard version of GCC doesn't matter. The AC_PROG_CC macro invocation in configure.ac arranges to add the suitable command-line options, so that the C compiler understands C99 (or even C11 if possible).
It matters to me, because nginx (my job) doesn't use autotools, and doesn't specify a language version, so it compiles with whatever the system default is. And we support CentOS7, so we need to support gnu89. I've battled a lot to specify gnu11 in the cc command line, but so far I've repeatedly met a stone wall of unjustified FUD, and the patch didn't make it.
Which means I can't use loop variables or C99 inline. :(
Bruno
Cheers, Alex -- <http://www.alejandro-colomar.es/> GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5
OpenPGP_signature
Description: OpenPGP digital signature