Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2014 22:19:41 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Alan Somers <asomers@freebsd.org>
Cc:        "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>, theraven@freebsd.org, Brooks Davis <brooks@freebsd.org>
Subject:   Re: contrib/libc++/include/locale contains -Wsign-compare errors
Message-ID:  <5FD73D01-F8E4-42F8-B5A6-67A6BD516A08@FreeBSD.org>
In-Reply-To: <CAOtMX2juj%2B=-bo0kznhLi01QxjVkdvJoT890q%2BBYhoKSpwpXng@mail.gmail.com>
References:  <CAOtMX2juj%2B=-bo0kznhLi01QxjVkdvJoT890q%2BBYhoKSpwpXng@mail.gmail.com>

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

--Apple-Mail=_F5EB2442-8888-41C9-8BD9-71FBEC52AE3D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1

On 07 Feb 2014, at 19:04, Alan Somers <asomers@freebsd.org> wrote:
...
> In file included from use_locale.cpp:1:
> /usr/include/c++/v1/locale:1016:27: error: comparison of integers of =
different
>      signs: 'long' and 'size_type' (aka 'unsigned long')
>      [-Werror,-Wsign-compare]
>        if (__a_end - __a =3D=3D __buf.size())
>            ~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~

Fixed in r261608 (in a somewhat cleaner way than r261604).  It's also
going to be applied upstream.

-Dimitry


--Apple-Mail=_F5EB2442-8888-41C9-8BD9-71FBEC52AE3D
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.22 (Darwin)

iEYEARECAAYFAlL1Te0ACgkQsF6jCi4glqMwXwCgz796JqT8UBvbiTs8meGm02B8
gTwAoMOjPc15ucvhUUoeaP/O3XxCb/V3
=AlND
-----END PGP SIGNATURE-----

--Apple-Mail=_F5EB2442-8888-41C9-8BD9-71FBEC52AE3D--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5FD73D01-F8E4-42F8-B5A6-67A6BD516A08>