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>

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

--Apple-Mail=_EEC4EA8D-950E-413D-AEDE-FF3CE73F9C52
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 01 Jan 2015, at 18:35, Oliver Pinter <oliver.pinter@hardenedbsd.org> =
wrote:
> We at  HardenedBSD got this error, with out jenkins instance:
>=20
> --- 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 =3D=3D 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 =3D=3D 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 !=3D 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 !=3D 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


--Apple-Mail=_EEC4EA8D-950E-413D-AEDE-FF3CE73F9C52
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.26

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

--Apple-Mail=_EEC4EA8D-950E-413D-AEDE-FF3CE73F9C52--



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