Re: [PATCH v2] specify void prototype for functions with no parameters

2022-09-02 Thread Khem Raj
On Thu, Sep 1, 2022 at 4:18 PM Paul Eggert wrote: > > On 9/1/22 11:53, Khem Raj wrote: > > > > I ran into few problems. Some of them were latent issues[1] but some > > are problems[2] especially using AC_CHECK_FUNCS when default compiler > > is C++ compiler not C compiler > > > Thanks for checkin

Re: [PATCH v2] specify void prototype for functions with no parameters

2022-09-02 Thread Zack Weinberg
On Thu, Sep 1, 2022, at 7:18 PM, Paul Eggert wrote: > Thanks for checking. How about the attached patch instead? It's closer > to what you originally suggested. > > Zack, any thoughts on this sort of thing? ... > --- a/doc/autoconf.texi > +++ b/doc/autoconf.texi > @@ -5460,9 +5460,8 @@ the @samp{

Re: [PATCH v2] specify void prototype for functions with no parameters

2022-09-02 Thread Paul Eggert
On 9/2/22 10:42, Zack Weinberg wrote: Why the #undef malloc here? It's just a cut-and-paste typo. Thanks for reporting that. I installed the patch after correcting the typo.