g++.benjamin/warn01.C failure
Alexandre Oliva
oliva@dcc.unicamp.br
Fri Nov 7 02:43:00 GMT 1997
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
More information about the Gcc
mailing list