Boost C++ Libraries: Ticket #9377: g++ 4.7 -Wshadow warnings need attention https://svn.boost.org/trac10/ticket/9377 <p> Following are warnings from g++ 4.7 </p> <p> boost/unordered/detail/equivalent.hpp:539:25: warning: declaration of 'count' shadows a member of 'this' [-Wshadow] </p> <p> boost/unordered/detail/table.hpp:261:9: warning: declaration of 'hash' shadows a member of 'this' [-Wshadow] </p> <p> boost/unordered/detail/table.hpp:658:39: warning: declaration of 'assign' shadows a member of 'this' [-Wshadow] </p> <p> boost/unordered/detail/table.hpp:733:48: warning: declaration of 'assign' shadows a member of 'this' [-Wshadow] </p> <p> boost/unordered/detail/unique.hpp:532:25: warning: declaration of 'count' shadows a member of 'this' [-Wshadow] </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9377 Trac 1.4.3 Mateusz Loskot Sat, 30 Nov 2013 10:12:59 GMT <link>https://svn.boost.org/trac10/ticket/9377#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9377#comment:1</guid> <description> <p> From <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9374" title="#9374: Bugs: g++ 4.7 -Wshadow warnings need attention (boost/pending) (closed: wontfix)">#9374</a> </p> <blockquote class="citation"> <p> This is a standard C++ idiom and does not make sense to change. </p> </blockquote> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Sat, 30 Nov 2013 13:22:01 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/9377#comment:2 https://svn.boost.org/trac10/ticket/9377#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> 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. </p> Ticket Daniel James Mon, 26 May 2014 21:46:58 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9377#comment:3 https://svn.boost.org/trac10/ticket/9377#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> This was fixed in: </p> <p> <a class="ext-link" href="https://github.com/boostorg/unordered/commit/94071cc6e81ec908d7b427c72d6b6d1f89e4e133"><span class="icon">​</span>https://github.com/boostorg/unordered/commit/94071cc6e81ec908d7b427c72d6b6d1f89e4e133</a> </p> Ticket