HEADS UP: Upgraded clang, llvm and lldb to 3.5.0

Dimitry Andric dim at FreeBSD.org
Thu Jan 1 17:53:15 UTC 2015


On 01 Jan 2015, at 18:35, Oliver Pinter <oliver.pinter at hardenedbsd.org> wrote:
> We at  HardenedBSD got this error, with out jenkins instance:
> 
> --- dis_tables.o ---
> /jenkins/workspace/HardenedBSD_Master/sys/cddl/dev/dtrace/x86/dis_tables.c:3025:25:
> error: '&&' within '||' [-Werror,-Wlogical-op-parentheses]
>        if (cpu_mode == SIZE64 && dp->it_invalid64 ||
>            ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ~~
> /jenkins/workspace/HardenedBSD_Master/sys/cddl/dev/dtrace/x86/dis_tables.c:3025:25:
> note: place parentheses around the '&&' expression to silence this
> warning
>        if (cpu_mode == SIZE64 && dp->it_invalid64 ||
>                               ^
>            (                                     )
> /jenkins/workspace/HardenedBSD_Master/sys/cddl/dev/dtrace/x86/dis_tables.c:3026:25:
> error: '&&' within '||' [-Werror,-Wlogical-op-parentheses]
>            cpu_mode != SIZE64 && dp->it_invalid32)
>            ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
> /jenkins/workspace/HardenedBSD_Master/sys/cddl/dev/dtrace/x86/dis_tables.c:3026:25:
> note: place parentheses around the '&&' expression to silence this
> warning
>            cpu_mode != SIZE64 && dp->it_invalid32)
>                               ^
>            (                                     )
> --- all_subdir_ed ---

I can't reproduce this warning here, at least not with pristine head.

Did you change any of the -Wno-xxx flags in your customized source tree?

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20150101/a393459a/attachment.sig>


More information about the freebsd-current mailing list