Problems building rsync with Clang 15 beta

2022-08-18 Thread Paul Eggert via rsync
[Resending because the rsync mailing list rejected my email earlier.] On 8/17/22 23:58, Khem Raj wrote: rsync which add -pedantic-errors option to cflags during configure OK, that's the problem then. 'configure' should not use flags like -pedantic-errors. This has long been a property of

Re: Problems building rsync with Clang 15 beta

2022-08-18 Thread Paul Eggert via rsync
On 8/18/22 09:38, Khem Raj wrote: I think the autoconf patch should be good on its own merits regardless It partly depends on how much we care about compatibility. Putting the 'void' in there will break pre-C89 compilers, as well as C++ compilers pretending (badly) to be C compilers. I doubt

Re: Problems building rsync with Clang 15 beta

2022-08-18 Thread Paul Eggert via rsync
On 8/18/22 19:31, Wayne Davison wrote: Maybe Clang 15 broke the testing idiom that sets $GCC? I think Clang has always pretended to be GCC well enough to fool Autoconf so that 'configure' sets GCC. What's new in Clang 15 is that it starts being pedantic about empty arglists, apparently.