autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C23 support in Autoconf


From: Jacob Bachmeyer
Subject: Re: C23 support in Autoconf
Date: Tue, 30 Apr 2024 20:59:43 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0

Paul Eggert wrote:
On 2024-04-30 12:03, Zack Weinberg wrote:
Another reason to want this type of control is if you are deliberately trying
to ensure that your code continues to compile with old compilers.

While we're adding to our wishlist that should also be a configure-time option, not merely something in configure.ac. That way, one could test a tarball's portability without having to modify the source code.

Perhaps --with-C-language-standard={C89,C99,C11,C23} and a --with-strict-C-language to select (example) c99 instead of gnu99?


-- Jacob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]