Boost C++ Libraries: Ticket #4212: MSVC9.0: warning C4244 in regex_format.hpp(387) under 64-bit (x64) https://svn.boost.org/trac10/ticket/4212 <p> boost_1_42_0\boost\regex\v4\regex_format.hpp(387) : warning C4244: 'initializing' : conversion from '<span class="underline">int64' to 'int', possible loss of data </span></p> <p> This is a warning under x64 compilation, where sizeof(size_t) != sizeof(int) </p> <blockquote> <p> int max_len = m_end - m_position; </p> </blockquote> <p> Possibly max_len should be of type size_t or probably more stricty a typedef like </p> <p> iterator_traits&lt;Iterator&gt;::difference_type </p> <p> Similar warnings in other places: boost_1_42_0\boost\regex\v4\regex_format.hpp(450) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4212 Trac 1.4.3 anonymous Sat, 15 May 2010 08:49:20 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/4212#comment:1 https://svn.boost.org/trac10/ticket/4212#comment:1 <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">worksforme</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.43.0</span> → <span class="trac-field-new">Boost 1.44.0</span> </li> </ul> <p> I believe this has already been addressed in Trunk - it just didn't quite make the 1.43 release. </p> <p> Please reopen if not. </p> <p> John. </p> Ticket