Re: contrib/libc++/include/locale contains -Wsign-compare errors
--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--
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):