contrib/libc++/include/locale contains -Wsign-compare errors
Dimitry Andric
dim at FreeBSD.org
Fri Feb 7 21:19:54 UTC 2014
On 07 Feb 2014, at 19:04, Alan Somers <asomers at 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 == __buf.size())
> ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
Fixed in r261608 (in a somewhat cleaner way than r261604). It's also
going to be applied upstream.
-Dimitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-testing/attachments/20140207/ee99765a/attachment.sig>
More information about the freebsd-testing
mailing list