Opened 11 years ago
Closed 10 years ago
#5995 closed Patches (worksforme)
Warnings when compiled with "-Wold-style-cast"
| Reported by: | Owned by: | No-Maintainer | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | None |
| Version: | Boost 1.47.0 | Severity: | Cosmetic |
| Keywords: | old-style-cast | Cc: |
Description
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.
Attachments (1)
Change History (6)
by , 11 years ago
| Attachment: | old-style-cast.patch added |
|---|
comment:1 by , 11 years ago
| Type: | Bugs → Patches |
|---|
comment:2 by , 11 years ago
comment:3 by , 11 years ago
| Component: | None → unordered |
|---|---|
| Owner: | set to |
comment:4 by , 11 years ago
| Component: | unordered → None |
|---|---|
| Owner: | changed from to |
This is for loads of libraries. I'm not taking responsibility for this one.
comment:5 by , 10 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
Please do a ticket by component so that the author can take care of them.

Please do a ticket by component so that the author can take care of them.