Ticket #6190 (closed Bugs: fixed)

Opened 5 years ago

Last modified 4 years ago

Warnings in unordered when compiled with "-Wshadow"

Reported by: c.matuszewski@… Owned by: danieljames
Milestone: Boost 1.50.0 Component: unordered
Version: Boost 1.48.0 Severity: Cosmetic
Keywords: Cc:


g++ 4.5.3 produces warnings in unordered when -Wshadow is used. The warnings exist 1.48.0 and in the svn trunk 75761.

This is a component specific ticket for ticket 5996 which also contains a patch.


Change History

comment:1 Changed 5 years ago by danieljames

  • Status changed from new to assigned
  • Milestone changed from To Be Determined to Boost 1.50.0

comment:2 Changed 5 years ago by danieljames

(In [78364]) Unordered: Avoid -Wshadow warnings. Refs #6190.

comment:3 Changed 5 years ago by danieljames

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [78432]) Unordered: Merge unordered from trunk.

  • Activate std::allocator_traits for gcc 4.7 and Visual C++ 11.
  • Implement variadic construct in boost::unordered::detail::allocator_traits when variadics, rvalue references and SFINAE expression are available.
  • Use variadic construct from allocator_traits, or when not available move the logic for constructing value_type to a lower level, so the container code is a bit simpler.
  • Avoid -Wshadow warnings. Fixes #6190.
  • Implement reserve. Fixes #6857.

comment:4 Changed 4 years ago by y hbynn

wvn t m ngm rbmvl


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.