public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/39763]  New:  -Wshadow reports shadowed declarations for parameters of unnamed temp objects
@ 2009-04-14 13:06 caolanm at redhat dot com
  2009-04-14 13:06 ` [Bug c++/39763] " caolanm at redhat dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: caolanm at redhat dot com @ 2009-04-14 13:06 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 772 bytes --]

This is very similar to Bug 39526 except that the test-case there now (Fedora
rawhide: gcc-4.4.0-0.32.x86_64) passes, while this similar one reports...

g++ -c -Wshadow demo.cxx
demo.cxx: In function ‘int foo()’:
demo.cxx:11: warning: declaration of ‘infoo’ shadows a previous local
demo.cxx:10: warning: shadowed declaration is here


-- 
           Summary:  -Wshadow reports shadowed declarations for parameters
                    of unnamed temp objects
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: caolanm at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39763


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-04-14 18:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-14 13:06 [Bug c++/39763] New: -Wshadow reports shadowed declarations for parameters of unnamed temp objects caolanm at redhat dot com
2009-04-14 13:06 ` [Bug c++/39763] " caolanm at redhat dot com
2009-04-14 14:26 ` jason at gcc dot gnu dot org
2009-04-14 14:57 ` jakub at gcc dot gnu dot org
2009-04-14 15:04 ` jason at gcc dot gnu dot org
2009-04-14 17:04 ` jason at gcc dot gnu dot org
2009-04-14 17:15 ` jason at gcc dot gnu dot org
2009-04-14 18:54 ` jason at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).