delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/30/22:05:46

From: "Andy Kilner" <andy AT kilner DOT karoo DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: try, throw, and catch
Date: Wed, 31 Mar 1999 03:28:06 +0100
Organization: Customer of Planet Online
Message-ID: <7ds179$jp3$1@newsreader2.core.theplanet.net>
References: <370121EB DOT 33506B4E AT jps DOT net>
NNTP-Posting-Host: modem106.scully.kingston-internet.net
X-Trace: newsreader2.core.theplanet.net 922847273 20259 195.92.234.234 (31 Mar 1999 02:27:53 GMT)
NNTP-Posting-Date: 31 Mar 1999 02:27:53 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Lines: 18
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I pasted your code into rhide and it compile fine....When  I run the program
however the exceptions I throw seem not to be caught and pass straight
through even though I have catch all clauses. I've tried every different
whey I can think of for throwing and catching the errors but I just get
"Abort!" printed to the screen.

I've tried -fhandle-exceptions and -fexceptions and when I compile it tells
me -fexceptions is on by default.

Can anyone please help me out here...I've got a computing deadline tomorrow
for my A level and it's 3:30 now, I'm going to bed but I'll be straight back
at about 9:00 to try and sort it.
Any clever people who know what's wrong please help!

Thanks
Andy Kilner


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019