This is the mail archive of the gcc@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]

Re: g++.benjamin/warn01.C failure


Mike Stump writes:

> As we get nearer to release it would be nice to have things like this:

> FAIL: g++.benjamin/warn01.C (test for excess errors)

> cleaned up.

IMO, this is a bug in the test case.  Here's the output of egcs
compiling this code:

/n/temp1/gcctest/bin/../src/egcs-971105/gcc/testsuite/g++.old-deja/g++.benjamin/
warn01.C:63: warning: `__unused__' attribute does not apply to types
/n/temp1/gcctest/bin/../src/egcs-971105/gcc/testsuite/g++.old-deja/g++.benjamin/
warn01.C:72: warning: `__unused__' attribute does not apply to types
/n/temp1/gcctest/bin/../src/egcs-971105/gcc/testsuite/g++.old-deja/g++.benjamin/
warn01.C:91: warning: `warn' attribute directive ignored

What would it mean to apply __unused__ to a class?

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil


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