Date: Tue, 23 Oct 2012 12:01:11 +0200 From: "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de> To: Current FreeBSD <freebsd-current@freebsd.org> Subject: 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 parentheses around the '&&' expression to silence this, warning Message-ID: <50866AE7.6070504@mail.zedat.fu-berlin.de>
next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig53E38C27708CC64C6AC211B5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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? 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_sep ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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_se= p ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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: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 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. --------------enig53E38C27708CC64C6AC211B5 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) iQEcBAEBAgAGBQJQhmrsAAoJEOgBcD7A/5N85dIIANzkHnVTW97y3f7vQeR8/bZ7 t2HxxryrZynUaQX+zh7x5tigGEKvxnyJbtsoAiyFqIvLEn5798cyPtjqXvWsrr5F ktxOpLGpn6EmclmBHWAM0B4cw9knHVIpaAScJy3D/5I00mGeVqnQcLTXTFj7O9/w 8QXA619SU4QInY5q/dvRJtIr4iV7MmKXP1+35hx0LjchRoUEptNmsDvlktl1LAD8 6dkhsbHmZl4BSysVU1vHD6nsWuxced/rdV3dGKjXAGMDk2Fat/VA9sZSOdX+sXsP 7JayxRZCRsBxhHRtPbX61PJKwqoNEotbLqLrt0lFJbgRgF3bKSxMKfZG/Mufbm4= =mSvF -----END PGP SIGNATURE----- --------------enig53E38C27708CC64C6AC211B5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50866AE7.6070504>