linker question: rtti/exception functions

David Korn
Thu Feb 14 08:32:00 GMT 2002

>-----Original Message-----
>From: []
>Sent: 14 February 2002 16:29

>If that's not acceptable, you could just stub out the 
>offending functions:
>  void operator delete(void*) { } 
>  void operator delete[](void*) { }
>If you look at the resulting assembler code, you'll find that these
>functions are actually called __builtin_delete and __builtin_vec_delete at
>the assembler level.

  Oops!  Yes, my earlier suggestion

    void __builtin_delete (void) {}

should either be placed in a .c file, or declared/defined as

 extern "C" void __builtin_delete (void) {}

if in a .cpp

Burn your ID card!
Help support the campaign, copy this into your .sig!

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list