[Top][All Lists]

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

Re: [PATCH] AC_LANG_INT_SAVE: Modernize function declarators (C89 and ab

From: Vincent Lefevre
Subject: Re: [PATCH] AC_LANG_INT_SAVE: Modernize function declarators (C89 and above).
Date: Fri, 7 Aug 2020 01:25:58 +0200
User-agent: Mutt/1.14.5+76 (bb407ec3) vl-127292 (2020-06-24)

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 <> - Web: <>
100% accessible validated (X)HTML - Blog: <>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

reply via email to

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