Mail Archives: djgpp/1996/02/27/09:42:22
On Sat, 17 Feb 1996 06:44:17 Borysiak Gregory wrote:
: I tried to compile a C++ code source which uses the exceptions.
: I compile using the -fhandle-exceptions but when I tried to link
: the code, ld could not find the 'terminate' symbol.
: Did I do someone wrong ? Is the 'terminate' symbol missing in the
: libraries ?
terminate is the function called when an exception is not caught by the
application, and so you may be able to get round this by:
void terminate(/* whatever */)
{
fprintf(stderr,"Whoa! You didn't catch this exception boss.\n");
return;
}
Dom
--
_____________________________________________________________________________
Dom De Vitto devitto AT ferndown DOT ate DOT slb DOT com
Schlumberger Automatic Test Equipment fox AT bcs DOT org DOT uk
Board Systems Desk/voicemail: +44(0) 1202 850951
Wimborne, Dorset, Site reception: +44(0) 1202 850850
England, BH21 7PP Fax: +44(0) 1202 850988
_____________________________________________________________________________
- Raw text -