Re: How can Autoconf help with the transition to stricter compilation defaults?

Wookey <[email protected]> Sat, 12 Nov 2022 15:59:52 +0000
Newsgroups dev.linux.lists.c-std-porting
Organization Wookware
Message-ID <[email protected]>
On 2022-11-10 19:08 +0100, Florian Weimer wrote:
> * Zack Weinberg via Gcc:
> 
> > It’s come to my attention (via https://lwn.net/Articles/913505/ and
> > https://fedoraproject.org/wiki/Changes/PortingToModernC) that GCC and
> > Clang both plan to disable several “legacy” C language features by
> > default in a near-future release (GCC 14, Clang 16) (see the Fedora
> > wiki link for a list).

> based on a limited attempt to get this fixed about three years
> ago, I expect that many of the problematic packages have not had their
> configure scripts regenerated using autoconf for a decade or more.  This
> means that as an autoconf maintainer, you unfortunately won't be able to
> help us much.

We changed the default in debian to re-autoconf on build a few years
ago precisely so that changes in the tools (particularly new arch
support) were picked up even by code that was not being re-released or
released without autofoo updates.  This has worked remarkably well.

So changes in the tools will get used, at least in that context, which
includes a fairly hefty pile of crufty old code. I have no feeling for
how many packages are actually affected by this. Is there a quick way to test?

Wookey
-- 
Principal hats:  Debian, Wookware, ARM
http://wookware.org/
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEER4nvI8Pe/wVWh5yq+4YyUahvnkcFAmNvwvIACgkQ+4YyUahv
nkf2cw/9HTGOLEDJJZtdjtjG6ImL7fsIYeEeDA/GytLHgoR3ZUtLyCd07PmcgKC5
m/1DXK0FkZfwolry54utCCZl7PTUBiKs50gTwYQi9xq8zqgagAKlsZrsS4JeE7hg
GoWsMzli1TnfBQnBQarYl4xYH+F0ABwdrAjY8/A0f8mQ+4rUoiPFRB1tAfdDjXDz
BjfX3HBDza9rNEY9AWy2JxZk6i0pTx4737ackhgXGkPoK+WPi0F+d0ig47QhYARK
DSJxqPzg2iDmYHIY6UsdjdjyNQm4P63kcS79ZOG0Q2hW2Olo51aD62YszpW556vV
TOFtrDm0E0h3/SRgk6BxJ2VxvdFor5DzlsijX6Jaf+y/Sy4a3taymh6Mql8R2BlP
PYY6CNvxomt+tAdPlUkFRKO5EJYFWTjsrP+3R0h/tLFv1qt8rNog37g2sgO46bvh
f+v47lplR8u2Z8DPiZb7OlxRk4pSa6w6uN8lpZBjSrH8DD64Or/YELHeCenwc+j7
fG7ZDlY6qdtI7MPqIqB1cHmqnVk+yPhg2JrETIWXS4goieHJOQpcccUfMQt7LUBx
31/1SQIVgLsVdxf7NNviIhzzL0TwkDFMTTstbxlwuypeNDEGwwEQwf+hXLypnUaV
5NBO9AL+sKi08lKenzAjUC+CwoRQHNDZ7x4pSqu91dozIDNUh1E=
=YRwI
-----END PGP SIGNATURE-----