This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is this a bug for gcc (2.95 and 3.1)?
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Bernard Dautrevaux <Dautrevaux at microprocess dot com>
- Cc: "'Mitchell Maggie'" <maggie_shh at hotmail dot com>, gcc at gcc dot gnu dot org
- Date: 25 May 2002 06:15:00 -0300
- Subject: Re: Is this a bug for gcc (2.95 and 3.1)?
- Organization: GCC Team, Red Hat
- References: <17B78BDF120BD411B70100500422FC6309E571@IIS000>
On May 24, 2002, Bernard Dautrevaux <Dautrevaux@microprocess.com> wrote:
> the compiler should flag your programs with an error message,
> reporting that it's illegal to declare a destructor as pure
Err... Care to cite the standard? AFAIK, it's always been legal to
declare a destructor as pure virtual, as long as it is defined
(outside the class body) if it's actually used.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer