Re: uses old-style function definition, thus fails with -Werror=old-style-definition

2014-01-09 Thread Vincent Lefevre
On 2014-01-04 13:01:49 +0100, Vincent Lefevre wrote: > On 2014-01-03 15:10:57 -0700, Eric Blake wrote: > > So a simpler patch that fixes all of autoconf to use main(void) > > instead of main() is fair game for immediate inclusion. Do you have > > time to write such a patch, instead of waiting on me

Re: uses old-style function definition, thus fails with -Werror=old-style-definition

2014-01-04 Thread Vincent Lefevre
On 2014-01-03 15:10:57 -0700, Eric Blake wrote: > So a simpler patch that fixes all of autoconf to use main(void) > instead of main() is fair game for immediate inclusion. Do you have > time to write such a patch, instead of waiting on me? I'll try to look at this today. At the same time, I think

Re: uses old-style function definition, thus fails with -Werror=old-style-definition

2014-01-03 Thread Eric Blake
On 01/03/2014 02:56 PM, Eric Blake wrote: > On 01/03/2014 02:51 PM, Vincent Lefevre wrote: >> A developer may want to test his software with >> -Werror=old-style-definition (in particular because such definitions >> could be a real bug in the software). But configure fails because >> autoconf (vers

Re: uses old-style function definition, thus fails with -Werror=old-style-definition

2014-01-03 Thread Eric Blake
On 01/03/2014 02:51 PM, Vincent Lefevre wrote: > A developer may want to test his software with > -Werror=old-style-definition (in particular because such definitions > could be a real bug in the software). But configure fails because > autoconf (version 2.69) generates such a function definition.