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