Opened 11 years ago

Last modified 10 years ago

#5996 new Patches

Warnings when compiled with "-Wshadow"

Reported by: Shuo Chen <giantchen@…> Owned by: Thorsten Ottosen
Milestone: To Be Determined Component: ptr_container
Version: Boost 1.47.0 Severity: Cosmetic
Keywords: shadow Cc:

Description

g++ 4.4.5 reports warnings when compiles various components with "-Wshadow", files:

boost/ptr_container/exception.hpp
boost/ptr_container/detail/move.hpp
boost/ptr_container/detail/static_move_ptr.hpp
boost/ptr_container/detail/reversible_ptr_container.hpp
boost/unordered/detail/equivalent.hpp
boost/unordered/detail/buckets.hpp
boost/unordered/detail/emplace_args.hpp
boost/unordered/detail/unique.hpp
boost/concept_check.hpp

Similar tickets: #5439, #4362, #4365 .

Those warnings exists in both Boost 1.47.0 and svn trunk 74788, I attached a patch file against svn trunk 74788.

Attachments (1)

shadow.patch (9.6 KB ) - added by Shuo Chen <giantchen@…> 11 years ago.

Download all attachments as: .zip

Change History (4)

by Shuo Chen <giantchen@…>, 11 years ago

Attachment: shadow.patch added

comment:1 by anonymous, 11 years ago

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

comment:2 by viboes, 11 years ago

Component: Noneptr_container
Owner: set to Thorsten Ottosen

comment:3 by giantchen@…, 10 years ago

By component tickets are #6738 for concept-check and #6190 for unordered-containers.

Note: See TracTickets for help on using tickets.