[Bug c/44598] -Wunused-variable miss 'static const char x[] = "";'
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jun 21 06:11:00 GMT 2010
------- Comment #4 from jakub at gcc dot gnu dot org 2010-06-21 06:11 -------
FYI, this has nothing to do with the new -Wunused-but-set-* warnings, the
initialization in the definition isn't counted as set.
This is something the old -Wunused-variable warning reports/doesn't report.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44598
More information about the Gcc-bugs
mailing list