problem with virtual functions

Mike Stump mrs@windriver.com
Thu May 17 15:28:00 GMT 2001


> To: vok@cfar.umd.edu
> Cc: "gcc@gcc.gnu.org" <gcc@gcc.gnu.org>
> From: Alexandre Oliva <aoliva@redhat.com>
> Date: 17 May 2001 19:13:08 -0300

> On May 17, 2001, vok@cfar.umd.edu wrote:

> > #ifdef __GNUG__
> > #pragma interface
> > #endif

Seriously consider not doing this anymore.  If you're using ELF, it is
probably ok to remove this code.  If you have an out of line virtual
member function (and you do), most of the benefit of this code will
already be in the compiled code.



More information about the Gcc mailing list