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++/33515] Inconsistent warning about "defined but not used"



------- Comment #2 from mec at google dot com  2007-09-21 05:59 -------
Created an attachment (id=14237)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14237&action=view)
Test program

Compile with: gcc -Wall -S z3.cc

This program does give a warning about a1 defined-but-not-used.  I believe this
is incorrect.  The real point is that z2.cc and z3.cc should behave
consistently.


-- 


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


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