[Bug c++/33515] Inconsistent warning about "defined but not used"
mec at google dot com
gcc-bugzilla@gcc.gnu.org
Fri Sep 21 05:58:00 GMT 2007
------- Comment #1 from mec at google dot com 2007-09-21 05:58 -------
Created an attachment (id=14236)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14236&action=view)
Test program
compile with: gcc -Wall -S z2.cc
This program does not give a warning about a1 defined-but-not-used. I believe
this is correct behavior.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33515
More information about the Gcc-bugs
mailing list