Boost C++ Libraries: Ticket #10324: Fix for const-cast warning https://svn.boost.org/trac10/ticket/10324 <p> I see this warning in GCC 4.7.2, using Boost 1.56.0 </p> <p> boost/format/feed_args.hpp|121 col 9| warning: cast from type ‘const void*’ to type ‘boost::remove_reference&lt;long unsigned int&gt;::type* {aka long unsigned int*}’ casts away qualifiers [-Wcast-qual] </p> <p> boost/format/feed_args.hpp|126 col 9| warning: cast from type ‘const void*’ to type ‘long unsigned int*’ casts away qualifiers [-Wcast-qual] </p> <p> I've made a simple change to the code that avoids these warnings - please see attached patch. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10324 Trac 1.4.3 harris.pc@… Fri, 08 Aug 2014 03:51:05 GMT attachment set https://svn.boost.org/trac10/ticket/10324 https://svn.boost.org/trac10/ticket/10324 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">format_patch.diff</span> </li> </ul> <p> patch </p> Ticket James E. King, III Thu, 12 Oct 2017 18:09:07 GMT owner, status changed https://svn.boost.org/trac10/ticket/10324#comment:1 https://svn.boost.org/trac10/ticket/10324#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Samuel Krempp</span> to <span class="trac-author">James E. King, III</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket James E. King, III Sat, 14 Oct 2017 12:06:01 GMT milestone changed https://svn.boost.org/trac10/ticket/10324#comment:2 https://svn.boost.org/trac10/ticket/10324#comment:2 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.66.0</span> </li> </ul> <p> <a class="ext-link" href="https://github.com/boostorg/format/pull/25"><span class="icon">​</span>https://github.com/boostorg/format/pull/25</a> merged into develop will resolve once develop merges into master </p> Ticket James E. King, III Fri, 20 Oct 2017 16:23:44 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10324#comment:3 https://svn.boost.org/trac10/ticket/10324#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket