Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jan 2015 18:53:14 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Oliver Pinter <oliver.pinter@hardenedbsd.org>
Cc:        HardenedBSD Developers <dev@hardenedbsd.org>, FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: HEADS UP: Upgraded clang, llvm and lldb to 3.5.0
Message-ID:  <FA9F5B2B-CAAD-48C7-B79F-2EB16F256F02@FreeBSD.org>
In-Reply-To: <CAPQ4fftLbm6XDxk-oJRZyq74pPLA7n_bb7w__MEsV2K-R=P-6Q@mail.gmail.com>
References:  <528C023D-6207-4054-917B-05D4C4E605EC@FreeBSD.org> <20150101125043.6e6e3a52.ohartman@zedat.fu-berlin.de> <CAPQ4fftLbm6XDxk-oJRZyq74pPLA7n_bb7w__MEsV2K-R=P-6Q@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 01 Jan 2015, at 18:35, Oliver Pinter <oliver.pinter@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 #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.26

iEYEARECAAYFAlSliYoACgkQsF6jCi4glqPbIQCfQIhW5Pt2T9aaX8p/GrFwZ97T
UTsAoKl3FU+CgRoREfQ5FWB3MZYL2N3N
=0NoG
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FA9F5B2B-CAAD-48C7-B79F-2EB16F256F02>