Boost C++ Libraries: Ticket #5995: Warnings when compiled with "-Wold-style-cast" https://svn.boost.org/trac10/ticket/5995 <p> g++ 4.4.5 reports warnings when compiles various components with "-Wold-style-cast". </p> <p> old-style-cast found in following files: boost/circular_buffer/debug.hpp boost/function/function_template.hpp boost/ptr_container/ptr_sequence_adapter.hpp boost/unordered/detail/buckets.hpp boost/unordered/detail/allocator_helpers.hpp boost/unordered/detail/emplace_args.hpp boost/unordered/detail/table.hpp boost/mpl/assert.hpp boost/functional/hash/detail/hash_float.hpp boost/functional/hash/hash.hpp boost/concept/detail/general.hpp boost/concept/detail/has_constraints.hpp boost/concept/usage.hpp </p> <p> Note: it's an incomplete list, but a list of headers (indirectely) used in my program, because old-style-cast can't be found with regexp. </p> <p> Please see ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3410" title="#3410: Bugs: Warnings in Boost::function when compiled with &#34;-Wold-style-cast&#34; (closed: fixed)">#3410</a> which is very similar to this one. </p> <p> Those warnings exists in both Boost 1.47.0 and svn trunk 74788, I attached a patch file against svn trunk 74788. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5995 Trac 1.4.3 Shuo Chen <giantchen@…> Sat, 08 Oct 2011 10:09:43 GMT attachment set https://svn.boost.org/trac10/ticket/5995 https://svn.boost.org/trac10/ticket/5995 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">old-style-cast.patch</span> </li> </ul> Ticket Shuo Chen <giantchen@…> Sat, 08 Oct 2011 10:25:42 GMT type changed https://svn.boost.org/trac10/ticket/5995#comment:1 https://svn.boost.org/trac10/ticket/5995#comment:1 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Patches</span> </li> </ul> Ticket anonymous Tue, 08 Nov 2011 15:57:13 GMT <link>https://svn.boost.org/trac10/ticket/5995#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5995#comment:2</guid> <description> <p> Please do a ticket by component so that the author can take care of them. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Mon, 12 Dec 2011 22:43:59 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/5995#comment:3 https://svn.boost.org/trac10/ticket/5995#comment:3 <ul> <li><strong>owner</strong> set to <span class="trac-author">Daniel James</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">unordered</span> </li> </ul> Ticket anonymous Mon, 12 Dec 2011 22:51:30 GMT owner, component changed https://svn.boost.org/trac10/ticket/5995#comment:4 https://svn.boost.org/trac10/ticket/5995#comment:4 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Daniel James</span> to <span class="trac-author">No-Maintainer</span> </li> <li><strong>component</strong> <span class="trac-field-old">unordered</span> → <span class="trac-field-new">None</span> </li> </ul> <p> This is for loads of libraries. I'm not taking responsibility for this one. </p> Ticket viboes Wed, 15 Aug 2012 19:52:57 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5995#comment:5 https://svn.boost.org/trac10/ticket/5995#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">worksforme</span> </li> </ul> <p> Please do a ticket by component so that the author can take care of them. </p> Ticket