delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/31/00:49:43.1

Sender: nate AT cartsys DOT com
Message-ID: <3701B5AF.7002F08A@cartsys.com>
Date: Tue, 30 Mar 1999 21:42:07 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.5 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: try, throw, and catch
References: <370121EB DOT 33506B4E AT jps DOT net> <7ds179$jp3$1 AT newsreader2 DOT core DOT theplanet DOT net>
Reply-To: djgpp AT delorie DOT com

Andy Kilner wrote:
> 
> 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.

Are you sure you've got the latest version of GCC?  Check the
datestamps.  Older versions of GCC had bugs that manifested like this.

Failing all else, you might give EGCS a shot; C++ support is generally
much better with it.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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