Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2012 18:43:34 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        hiren panchasara <hiren.panchasara@gmail.com>
Cc:        "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>, Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: Revision: 241923: /bits/locale_facets.tcc:1390:10: error: '&&' within '||' [-Werror, -Wlogical-op-parentheses], && (static_cast<part>(__p.field[3]),  [...], /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.tcc:1390:10: note: place paren
Message-ID:  <5086C936.4010905@zedat.fu-berlin.de>
In-Reply-To: <CALCpEUHzFH4pnX4Ui87iFAk0-zTSdtmB_adPo5K3Ryx9scZ2Ww@mail.gmail.com>
References:  <CALCpEUHzFH4pnX4Ui87iFAk0-zTSdtmB_adPo5K3Ryx9scZ2Ww@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigDC65B857FDE2AFDD9728B058
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Am 10/23/12 18:08, schrieb hiren panchasara:
> On Oct 23, 2012 4:34 AM, "O. Hartmann" <ohartman@mail.zedat.fu-berlin.d=
e>
> wrote:
>>
>> On one of our FreeBSD 10.0-CURRENT/amd64 box, sources at:
>>
>> Working Copy Root Path: /usr/src
>> URL: svn://svn.freebsd.org/base/head
>> Repository Root: svn://svn.freebsd.org/base
>> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
>> Revision: 241923
>> Node Kind: directory
>> Schedule: normal
>> Last Changed Author: glebius
>> Last Changed Rev: 241923
>> Last Changed Date: 2012-10-23 10:33:13 +0200 (Di, 23 Okt 2012)
>>
>>
>> I receive the follwoing error. Is this seen on other systems, too?
>=20
> I think you are hitting a known issue. Look at this:
> http://www.mail-archive.com/freebsd-current@freebsd.org/msg142187.html
>=20
> Thanks,
> Hiren
>>
>> Regards,
>>
>> Oliver
>>
>> In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/locale:=
45:
>> /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.tcc:318:30=
:
>> error: '&&' within '||' [-Werror,-Wlogical-op-parentheses]
>>           if (__lc->_M_use_grouping && __c =3D=3D __lc->_M_thousands_s=
ep
>>               ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.tcc:318:30=
:
>> note: place parentheses around the '&&' expression to silence this
>>       warning
>> /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.tcc:560:32=
:
>> error: '&&' within '||' [-Werror,-Wlogical-op-parentheses]
>>             if (__lc->_M_use_grouping && __c =3D=3D __lc->_M_thousands=
_sep
>>                 ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=

>> /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.tcc:560:32=
:
>> note: place parentheses around the '&&' expression to silence this
>>       warning
>> /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.tcc:752:3:=

>> error: add explicit braces to avoid dangling else
>>       [-Werror,-Wdangling-else]
>>                 else
>>                 ^
>> /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.tcc:758:3:=

>> error: add explicit braces to avoid dangling else
>>       [-Werror,-Wdangling-else]
>>                 else
>>                 ^
>> /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.tcc:1390:1=
0:
>> error: '&&' within '||' [-Werror,-Wlogical-op-parentheses]
>>                                      && (static_cast<part>(__p.field[3=
])
>>                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~
>> /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.tcc:1390:1=
0:
>> note: place parentheses around the '&&' expression to silence this
>>       warning
>> 8 errors generated.
>> *** [application.o] Error code 1
>>
>> Stop in /usr/src/lib/atf/libatf-c++.
>> *** [all] Error code 1
>>
>> Stop in /usr/src/lib/atf.
>> *** [all] Error code 1
>>
>> Stop in /usr/src/lib.
>> *** [lib__L] Error code 1
>>
>> Stop in /usr/src.
>> *** [libraries] Error code 1
>>
>> Stop in /usr/src.
>> *** [_libraries] Error code 1
>>
>> Stop in /usr/src.
>> *** [buildworld] Error code 1
>>
>> Stop in /usr/src.
>>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o=
rg"
>=20


I see ... I was a bit too fast posting this, shortly after done so, I
saw the reports and solutions. I'll wait until the tree is fixed.

Thanks,

Oliver


--------------enigDC65B857FDE2AFDD9728B058
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQEcBAEBAgAGBQJQhsk2AAoJEOgBcD7A/5N8a4YH/1VVjJeMqsbfEnJbIU9Ku4sz
7jXoudPwDdEGudp/s+f1ACKsGN3qbVLHqpfcSiBML/rJNJHyFlKR241QQAYbGY2A
mkmzdCfe82EGG1v0XkeVyKOV5pSbbIFC4W12O8ZdFflOBldx8oF4iMSDnbxu26td
ESblSzk8BX93NkWtFsZ967Znn74HOQmK7Nvwa0g28FeOYjYQcLJRZdVWjTOIdng2
y3HErPs0xh0QULHzcN2JDe3R+80XzP5HUzBAxiF8CbrI1nUx4XGWGI0dc2accUaZ
KV5PrTxkW+k4l9KDamzDP4Bql1Q/FYJ9iRCRbNTqm1gMm0Ahj0zeQZzA+4Gc6D0=
=pL7r
-----END PGP SIGNATURE-----

--------------enigDC65B857FDE2AFDD9728B058--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5086C936.4010905>