problem with virtual functions

Alexandre Oliva aoliva@redhat.com
Thu May 17 15:13:00 GMT 2001


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

> #ifdef __GNUG__
> #pragma interface
> #endif

Ha!  You had failed to mention this fact.  Where's the
#pragma implementation of this class?

>   virtual ~GTracker() ;

> The constructor and destructor bodies are both empty, the other
> functions cout the string "not implemented".

Are you saying that the file that #pragma implements this class
contains:

GTracker::~GTracker() {}

-- 
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    *Please* write to mailing lists, not to me



More information about the Gcc mailing list