public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/45615] -Wshadow doesn't report class member shadowing
       [not found] <bug-45615-4@http.gcc.gnu.org/bugzilla/>
@ 2021-10-25  5:10 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-25  5:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45615

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 12341.

*** This bug has been marked as a duplicate of bug 12341 ***

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

* [Bug c++/45615] -Wshadow doesn't report class member shadowing
  2010-09-09 14:56 [Bug c++/45615] New: " joseph dot h dot garvin at gmail dot com
@ 2010-09-09 16:31 ` redi at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu dot org @ 2010-09-09 16:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from redi at gcc dot gnu dot org  2010-09-09 16:31 -------
I agree this would be useful, I've had problems with such shadowing when moving
members higher in inheritance hierarchies and accidentally missing occurrences
in some derived classes.

4.2 is unmaintained now, but current releases don't warn either.


-- 

redi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2010-09-09 16:31:17
               date|                            |


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


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

end of thread, other threads:[~2021-10-25  5:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-45615-4@http.gcc.gnu.org/bugzilla/>
2021-10-25  5:10 ` [Bug c++/45615] -Wshadow doesn't report class member shadowing pinskia at gcc dot gnu.org
2010-09-09 14:56 [Bug c++/45615] New: " joseph dot h dot garvin at gmail dot com
2010-09-09 16:31 ` [Bug c++/45615] " redi 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).