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

Zack Weinberg <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.patches
Message-ID <CAKCAbMiV0zux2Oyj+EZ8u48nDxA2McvnoQ9d4V5FWOHanGCU-g@mail.gmail.com>
On Wed, Aug 5, 2020 at 1:32 PM Vincent Lefevre <[email protected]> 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
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.