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/7101] attribute unused not honored on static variable preceeded by extern declaration


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-28 05:55 -------
With -pedantic or -pedantic-errors, I do get warnings:
pr7101.c:7: warning: static declaration for `i1' follows non-static
pr7101.c:8: warning: static declaration for `i2' follows non-static
pr7101.c:9: warning: static declaration for `i3' follows non-static

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-11-05 07:30:12         |2003-12-28 05:55:35
               date|                            |


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


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