Subject: [Boost-bugs] [Boost C++ Libraries] #5995: Warnings when compiled with "-Wold-style-cast"
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-08 10:07:56
#5995: Warnings when compiled with "-Wold-style-cast"
---------------------------------------------+------------------------------
Reporter: Shuo Chen <giantchen@â¦> | Owner:
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.47.0 | Severity: Cosmetic
Keywords: old-style-cast |
---------------------------------------------+------------------------------
g++ 4.4.5 reports warnings when compiles various components with "-Wold-
style-cast".
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
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.
Please see ticket #3410 which is very similar to this one.
Those warnings exists in both Boost 1.47.0 and svn trunk 74788, I attached
a patch file against svn trunk 74788.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5995> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC