Opened 11 years ago
Closed 10 years ago
#6738 closed Bugs (fixed)
Shadowed variable warning.
| Reported by: | Owned by: | jsiek | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | concept_check | 
| Version: | Boost 1.48.0 | Severity: | Cosmetic | 
| Keywords: | warning | Cc: | 
Description
Turning on -Wshadow will cause a warning to be thrown at concept_check.hpp:1055.
void const_constraints(const C& c)
warning: Declaration shadows a field of Collection<C>
In a large project, this gets compounded every time that a boost header is included. Which makes it difficult to find warnings in my own code.
Change History (3)
comment:1 by , 10 years ago
comment:3 by , 10 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    

A patch can be found in #5996 .