Re: Problems building rsync with Clang 15 beta

Wayne Davison via rsync <[email protected]>
Newsgroups gmane.network.rsync.general
Message-ID <CAHSx_Suzw3x+WLP8Em_joPdzx_1Got-YOMgh-Af6qCTc5kRsJw@mail.gmail.com>
On Thu, Aug 18, 2022 at 9:27 AM Paul Eggert wrote:

> But if rsync must add -pedantic-errors for some reason, it should do so at
> the very end of 'configure'


I think I'll just get rid of it except for some private builds.

perhaps it'd be better for rsync to also add -pedantic-errors only for GCC
> not Clang


My configure script did that using the $GCC var that configure sets:

if test x"$GCC" = x"yes"; then


Maybe Clang 15 broke the testing idiom that sets $GCC?

..wayne..

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
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.