Modify

Ticket #9377 (closed Bugs: fixed)

Opened 16 months ago

Last modified 9 months ago

g++ 4.7 -Wshadow warnings need attention

Reported by: Tom Browder <tom.browder@…> Owned by: danieljames
Milestone: To Be Determined Component: unordered
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

Following are warnings from g++ 4.7

boost/unordered/detail/equivalent.hpp:539:25: warning: declaration of 'count' shadows a member of 'this' [-Wshadow]

boost/unordered/detail/table.hpp:261:9: warning: declaration of 'hash' shadows a member of 'this' [-Wshadow]

boost/unordered/detail/table.hpp:658:39: warning: declaration of 'assign' shadows a member of 'this' [-Wshadow]

boost/unordered/detail/table.hpp:733:48: warning: declaration of 'assign' shadows a member of 'this' [-Wshadow]

boost/unordered/detail/unique.hpp:532:25: warning: declaration of 'count' shadows a member of 'this' [-Wshadow]

Attachments

Change History

comment:1 Changed 15 months ago by mloskot

From #9374

This is a standard C++ idiom and does not make sense to change.

comment:2 Changed 15 months ago by danieljames

  • Status changed from new to assigned

I am going to deal with this. Fixing non-problems reported by warnings is a bit annoying, but so are the warnings themselves. This isn't a priority though, I've got a lot of other things to be doing at the moment.

comment:3 Changed 9 months ago by danieljames

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

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.