Re: HEADS UP: Upgraded clang, llvm and lldb to 3.5.0

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Thu, 1 Jan 2015 18:53:14 +0100
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


Received on Thu Jan 01 2015 - 16:53:15 UTC

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