[K42-discussion] virtual destructors

Orran Y Krieger okrieg at us.ibm.com
Sat Jul 8 05:01:38 EST 2006


k42-discussion-bounces+okrieg=us.ibm.com at ozlabs.org wrote on 07/07/2006 
01:41:22 PM:

> That doesn't appear to work in this case. More specifically, even adding 

> an operator delete(void*) to that macro, the symbol still doesn't get 
> defined.



In meeting, so maybe being stupid, but if you look at:
http://www.tug.org/tex-archive/graphics/sam2p/c_lgcc3.cpp

I think you need to define an implementation of that, since we are not 
linking with the standard libraries.  So, you have to define an 
implementation of _ZdlPv

i.e., something like:
extern "C" void  _ZdlPv (void*);
void  _ZdlPv XFREE_CODE()

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/k42-discussion/attachments/20060707/a6828218/attachment.htm 


More information about the K42-discussion mailing list