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]
Other format: [Raw text]

Re: Is this a bug for gcc (2.95 and 3.1)?


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


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