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

2022-09-01 Thread Khem Raj
On 8/30/22 2:53 PM, Paul Eggert wrote: On 8/29/22 21:35, Khem Raj wrote: Compilers defaulting to C99 flag such functions as warning which fails to compile when using -Werror As mentioned earlier, projects should not use -Werror when configuring, for several reasons (this is just one). After y

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

2022-09-01 Thread Paul Eggert
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 checking. How about the attached patch instead? It's closer to what you or