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++/17393] [3.4/4.0 Regression] "unused variable '._0'" warning with -Wall


------- Additional Comments From bangerth at dealii dot org  2004-09-10 18:00 -------
Well, the error messages changed from 
 
pr17393.cc: In function `void foo()': 
pr17393.cc:5: error: parse error before `=' token 
 
to 
 
foo.cc:5: error: abstract declarator `A&' used as declaration 
foo.cc:5: error: `a' undeclared (first use this function) 
foo.cc:5: error: (Each undeclared identifier is reported only once for each 
function it appears in.) 
 
I don't know which is better or worse. The warning about the unused 
variable is just a follow-up that most people will very likely 
ignore when they see the first error. 
 
W. 

-- 


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


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