This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g++.benjamin/warn01.C failure
- To: mrs at wrs dot com (Mike Stump)
- Subject: Re: g++.benjamin/warn01.C failure
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 07 Nov 1997 08:32:31 -0200
- Cc: egcs at cygnus dot com
- References: <199711070027.QAA06939@kankakee.wrs.com>
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