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]

Re: problem with virtual functions


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


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