This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/20562] no unused warning for static arrays


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-19 23:19 -------
(In reply to comment #1)
> (In reply to comment #0)   
> > There should be a "defined but not used" warning.
> 
> Why, this is a constant array so it is removed right?

Never mind, but I can tell you this was already fixed by the time 4.0.0 was branched.
Try with -Wunused.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |minor
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]