Boost C++ Libraries: Ticket #6738: Shadowed variable warning. https://svn.boost.org/trac10/ticket/6738 <p> Turning on -Wshadow will cause a warning to be thrown at concept_check.hpp:1055. </p> <blockquote> <p> void const_constraints(const C&amp; c) </p> </blockquote> <p> warning: Declaration shadows a field of Collection&lt;C&gt; </p> <p> 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. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6738 Trac 1.4.3 giantchen@… Fri, 27 Apr 2012 07:35:43 GMT <link>https://svn.boost.org/trac10/ticket/6738#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6738#comment:1</guid> <description> <p> A patch can be found in <a class="new ticket" href="https://svn.boost.org/trac10/ticket/5996" title="#5996: Patches: Warnings when compiled with &#34;-Wshadow&#34; (new)">#5996</a> . </p> </description> <category>Ticket</category> </item> <item> <dc:creator>jeffrey.hellrung</dc:creator> <pubDate>Fri, 18 May 2012 02:58:15 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6738#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6738#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/78501" title="[concept_check] &#34;Shadowed variable warning&#34; (refs #6738)">[78501]</a>) [concept_check] "Shadowed variable warning" (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6738" title="#6738: Bugs: Shadowed variable warning. (closed: fixed)">#6738</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>jeffrey.hellrung</dc:creator> <pubDate>Mon, 28 May 2012 07:56:15 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6738#comment:3 https://svn.boost.org/trac10/ticket/6738#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/78702" title="[concept_check] &#34;Shadowed variable warning&#34; (fixes #6738)">[78702]</a>) [concept_check] "Shadowed variable warning" (fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6738" title="#6738: Bugs: Shadowed variable warning. (closed: fixed)">#6738</a>) </p> Ticket