[Bug c/28901] -Wunused-variable ignores unused const initialised variables
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Sep 19 05:13:00 GMT 2006
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-19 05:13 -------
This is not a bug but a feature. The reason is that const int usually shows up
in header files and usually are normally unused.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28901
More information about the Gcc-bugs
mailing list