Boost C++ Libraries: Ticket #5488: double constant used to initialise float member https://svn.boost.org/trac10/ticket/5488 <p> In: multi_index/hashed_index.hpp: ~608 </p> <p> Class member 'mlf' is defined as a float, but the unqualified double constant 1.0 is used to initialise it. </p> <p> This causes the following warning for us in code using boost::flyweights on GCC 4.2 (APPLE) with -Wall -Wextra </p> <p> warning: implicit conversion shortens 64-bit value into a 32-bit value </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5488 Trac 1.4.3 Rowan James <rowanj@…> Tue, 19 Apr 2011 13:39:18 GMT attachment set https://svn.boost.org/trac10/ticket/5488 https://svn.boost.org/trac10/ticket/5488 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-1_46_1-hashed_index.patch</span> </li> </ul> <p> patch (fix) </p> Ticket Joaquín M López Muñoz Fri, 06 May 2011 19:56:09 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5488#comment:1 https://svn.boost.org/trac10/ticket/5488#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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/71770" title="fixed #5488">[71770]</a>) fixed <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5488" title="#5488: Bugs: double constant used to initialise float member (closed: fixed)">#5488</a> </p> Ticket Rowan James <rowanj@…> Sat, 07 May 2011 14:52:10 GMT <link>https://svn.boost.org/trac10/ticket/5488#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5488#comment:2</guid> <description> <p> Thank you. </p> </description> <category>Ticket</category> </item> </channel> </rss>