Re: buildworld fails with clang, seems to be due to ATF import

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Tue, 23 Oct 2012 11:46:03 +0200
On 2012-10-23 11:21, Olivier Smedts wrote:
> I can't buildworld with clang anymore, tried with one job, error
> below. Sorry for the noise if that's a known problem.
...
> /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/streambuf_iterator.h:162:20:
> error: '&&' within '||' [-Werror,-Wlogical-op-parentheses]
>          return (__thiseof && __beof || (!__thiseof && !__beof));
>                  ~~~~~~~~~~^~~~~~~~~ ~~

Yes, these are several warnings in libstdc++ that should be fixed.  I
have a few patches ready to commit tonight.  Meanwhile, you can apply
the attached patch.

Received on Tue Oct 23 2012 - 07:46:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:31 UTC