buildworld fails with clang, seems to be due to ATF import
Dimitry Andric
dim at FreeBSD.org
Tue Oct 23 09:46:05 UTC 2012
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-libstdcxx-warnings-1.diff
Type: text/x-diff
Size: 6952 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20121023/9de4be35/attachment.diff>
More information about the freebsd-current
mailing list