Boost C++ Libraries: Ticket #5762: compilation warning: C4244: '=' : conversion from 'boost::uintmax_t' to 'digit_t', possible loss of data D:\dvm\trunk\buildenv\windows\vc-8.0\32\boost_1_47_0\boost\random\detail\large_arithmetic.hpp {99,100} https://svn.boost.org/trac10/ticket/5762 <p> msvc-2005 warns about possible data loss but in this case assignments look correct, so please add an explicit cast or disable warning C4244 in disable_warnings.hpp. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5762 Trac 1.4.3 Steven Watanabe Sun, 16 Oct 2011 18:05:42 GMT component changed; owner set https://svn.boost.org/trac10/ticket/5762#comment:1 https://svn.boost.org/trac10/ticket/5762#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">No-Maintainer</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">random</span> </li> </ul> Ticket alexanderlobov@… Tue, 10 Apr 2012 09:14:58 GMT version, milestone changed https://svn.boost.org/trac10/ticket/5762#comment:2 https://svn.boost.org/trac10/ticket/5762#comment:2 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.47.0</span> → <span class="trac-field-new">Boost 1.48.0</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.50.0</span> </li> </ul> <p> I also have this problem with boost 1.48 and compiler msvc-2005 </p> Ticket Alexander Lobov <alexanderlobov@…> Tue, 10 Apr 2012 11:05:43 GMT <link>https://svn.boost.org/trac10/ticket/5762#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5762#comment:3</guid> <description> <p> Program that reproduces the problem </p> <pre class="wiki">#include &lt;boost/random/mersenne_twister.hpp&gt; int main() { return 0; } </pre><p> There is no the problem with g++ (GCC) 4.5.3 compiler. </p> </description> <category>Ticket</category> </item> <item> <author>s.seifried@…</author> <pubDate>Mon, 30 Jul 2012 07:05:35 GMT</pubDate> <title>version changed; milestone deleted https://svn.boost.org/trac10/ticket/5762#comment:4 https://svn.boost.org/trac10/ticket/5762#comment:4 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.48.0</span> → <span class="trac-field-new">Boost 1.50.0</span> </li> <li><strong>milestone</strong> <span class="trac-field-deleted">Boost 1.50.0</span> </li> </ul> <p> still exisiting in boost 1.50.0, any change that this gets fixed in 1.51.0 or 1.52.0? </p> Ticket Steven Watanabe Sat, 16 Feb 2013 22:15:33 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5762#comment:5 https://svn.boost.org/trac10/ticket/5762#comment:5 <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/82940" title="Add explicit casts to avoid warnings on vc8. Fixes #5762.">[82940]</a>) Add explicit casts to avoid warnings on vc8. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5762" title="#5762: Bugs: compilation warning: C4244: '=' : conversion from 'boost::uintmax_t' ... (closed: fixed)">#5762</a>. </p> Ticket