[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-bugs
Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6635: Boost.Locale UTF encode function passes wrong type to
From: "Boost C++ Libraries" <noreply () lists ! boost ! org>
Date: 2012-02-29 14:44:27
Message-ID: 070.fdd42d365903eb596f11d6a9f69b1419 () lists ! boost ! org
[Download RAW message or body]
#6635: Boost.Locale UTF encode function passes wrong type to output iterator
-------------------------------------+--------------------------------------
Reporter: jason.erb@… | Owner: artyom
Type: Bugs | Status: assigned
Milestone: Boost 1.50.0 | Component: locale
Version: Boost 1.49.0 | Severity: Cosmetic
Resolution: | Keywords: Boost.Locale encode UTF
-------------------------------------+--------------------------------------
Comment (by Jason Erb <jason.erb@…>):
Thanks for looking into this. Here is the specific message:
{{{error: implicit conversion loses integer precision: 'code_point' (aka
'unsigned int') to 'const char' [-Werror,-Wconversion]}}}
I have used various boost libraries for a long time with these warnings
enabled and this is the first library in which I have hit this problem.
In my view, the cast is entirely appropriate in this case: the user has
specified {{{CharType}}} as the code unit type, so the code units sent to
the output iterator should be of this type.
--
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6635#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
_______________________________________________
Boost-bugs mailing list
Boost-bugs@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic