Boost C++ Libraries: Ticket #6290: Fix Lexical Cast 64bit Warning https://svn.boost.org/trac10/ticket/6290 <p> In Lexical Cast a std::string::size_type is assigned to an unsigned int. This patch changes the unsigned int to also be a std::string::size_type, getting rid of the warning on MSVC11. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6290 Trac 1.4.3 Matthew Bradbury <matt-bradbury@…> Sun, 18 Dec 2011 18:18:24 GMT attachment set https://svn.boost.org/trac10/ticket/6290 https://svn.boost.org/trac10/ticket/6290 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">lexical_cast-fix-64-bit-warning.patch</span> </li> </ul> Ticket albert.santoni@… Wed, 21 Dec 2011 09:23:55 GMT <link>https://svn.boost.org/trac10/ticket/6290#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6290#comment:1</guid> <description> <p> Nice, beat me to it by 3 days. :) </p> <p> We just stumbled across the same warning and the same fix, so it looks OK to me FWIW. </p> <p> I believe the patch you've attached will also fix a size_t/unsigned int comparison warning in the case that BOOST_LEXICAL_CAST_ASSUME_C_LOCALE is not defined on 64-bit systems as well. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Sun, 25 Dec 2011 18:55:35 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6290#comment:2 https://svn.boost.org/trac10/ticket/6290#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/76154" title="Fixes #6290 Tiny documentation update Updated char16_t and char32_t ...">[76154]</a>) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6290" title="#6290: Patches: Fix Lexical Cast 64bit Warning (closed: fixed)">#6290</a> Tiny documentation update Updated char16_t and char32_t support (still some work required) lexical_cast_empty_input_test.cpp refactored </p> Ticket