On 01 Jan 2015, at 18:35, Oliver Pinter <oliver.pin...@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

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to