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

Joerg Sonnenberger via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 17 14:16:06 PST 2022


Am Thu, Nov 17, 2022 at 10:58:52AM -0800 schrieb Paul Eggert via cfe-commits:
> On 2022-11-16 10:59, Zack Weinberg wrote:
> > I'm generally in agreement with Rich Felker's argument (inhttps://ewontfix.com/13/) that AC_CHECK_FUNC*should not*  just probe for linkability of a symbol
> 
> So am I. I'm not saying Autoconf should never change here, only that the
> change would not be trivial. It would require changing many configure.ac
> scripts scattered over many software projects, because Autoconf cannot be
> expected to know every signature of every function in every library.

For all practical purpose, it can't change as there is enough legacy
software out in the wild that will never be updated accordingly.

Joerg


More information about the cfe-commits mailing list