Re: contrib/libc++/include/locale contains -Wsign-compare errors

看板FB_current作者時間12年前 (2014/02/08 05:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
--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--
文章代碼(AID): #1IzL3IJD (FB_current)
文章代碼(AID): #1IzL3IJD (FB_current)