🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #572

exception handling via catch and throw

#572
From: Ken Fox
Date: Mon, 16 Nov 1992 19:09
21 lines
1458 bytes
I would like to use real exceptions in place of longjmp, but I can't
seem to get any exception-related code to compile.  g++ 2.3.1 gives
a core dump when encountering a catch or try, and a parse error
on a throw.  Could somebody *please* (I'm begging here...) point
me in the direction of some documentation concerning the current
state of exception handling in g++?  I hope this isn't a FAQ...

Please email.  Thanks in advance.

P.S. I didn't gain any substantial insight by looking at the code, other
than to find out I needed additional compile flags to get the exception
code enabled...

-- 

Ken Fox (fox@pt0204.pto.ford.com)  | My opinions or statements do not
                                   | represent those of, nor are endorsed by,
                                   | Ford Motor Company.
CAD/CAM Technology Section         |
CAD/CAM/CAE Process Integration    | "Is this some sort of trick question
Ford Motor Company                 |  or what?" -- Calvin
Technical Details
Message-ID: <1e8rlnINN1hh@ef2007.efhd.ford.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!fmsrl7!ef2007!pt0204.pto.ford.com!fox

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!fmsrl7!ef2007!pt0204.pto.ford.com!fox
From: fox@pt0204.pto.ford.com (Ken Fox)
Newsgroups: gnu.g++.help
Subject: exception handling via catch and throw
Date: 16 Nov 1992 19:09:43 GMT
Organization: Power Train Systems, Ford Motor Company
Lines: 21
Distribution: world
Message-ID: <1e8rlnINN1hh@ef2007.efhd.ford.com>
Reply-To: fox@pt0204.pto.ford.com
NNTP-Posting-Host: pt0204.pto.ford.com
Keywords: catch, throw, exceptions