autoconf-patches
[Top][All Lists]
Advanced

[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: Zack Weinberg
Subject: Re: [PATCH] AC_LANG_INT_SAVE: Modernize function declarators (C89 and above).
Date: Wed, 5 Aug 2020 13:37:50 -0400

On Wed, Aug 5, 2020 at 1:32 PM Vincent Lefevre <vincent@vinc17.net> wrote:
>
> On 2020-08-05 07:24:38 -0700, Paul Eggert wrote:
> > On 8/5/20 3:59 AM, Vincent Lefevre wrote:
> > > This allows one to avoid a failure with AC_COMPUTE_INT when using
> > > the -Werror=old-style-definition GCC option.
> >
> > Why is this needed? Telling 'configure' to use -Werror has never worked, for
> > lots of other reasons.
>
> With MPFR, it works after applying this patch.

+1 from me regardless -- we should be phasing out the use of pre-ANSI
constructs in autoconf's generated C snippets, and this is as good a
place to start as any.

zw



reply via email to

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