Re: [PATCH] AC_LANG_INT_SAVE: Modernize function declarators (C89 and above).

Vincent Lefevre <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.patches
Message-ID <[email protected]>
On 2020-08-06 12:29:33 -0700, Paul Eggert wrote:
> On 8/5/20 7:28 PM, Vincent Lefevre wrote:
> > Then "configure" should provide a way to use -Werror
> 
> I added that to the Autoconf TODO list; see attached. Unfortunately it's not
> something that would be trivial to do. In the meantime, I suggest not
> passing -Werror to 'configure'. (Or for this particular example, you can
> wait until C2x is supported. :-)

C2x won't help as I still need to detect the old style definitions
for C89/C99/C11/C17 compilers, at least until all of these have
disappeared, which won't happen before several dozens of years.

IMHO, in the mean time, a "void" for the parameter list should be
used when it makes sense.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.