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

Eric Blake <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.patches
Organization Red Hat, Inc.
Message-ID <[email protected]>
On 8/5/20 9:24 AM, 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.

It may not be needed on that front, but at the same time, I don't see it 
as hurting.  We can't guarantee that all configure snippets compile 
warning-free, but where a warning is easy to avoid, we might as well do it.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org
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.