From: d DOT vrabel AT n-shropshire DOT ac DOT uk (David Vrabel) Newsgroups: comp.os.msdos.djgpp Subject: Re: try, throw and catch Date: Fri, 01 May 1998 06:52:53 GMT Organization: Staffordshire University Lines: 17 Message-ID: <354970b1.134291@192.168.1.250> References: <354534b2 DOT 0 AT seralph9> NNTP-Posting-Host: www.n-shropshire.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk "Γιάννης Κάππας" wrote: > I cant get the exception mechanism under g++ 2.8 to work. Even simple >exceptions as try { throw anexceptionclass();} catch(anexceptionclass) {}. >The program terminates with an `abort!'. Why is that???? There is a bug which causes the normal method of exception handling not to work. Use the -fsjlj-exceptions switch when compiling to use a alternative method which works. I understand that the bug will be fixed in 2.8.1. David. David Vrabel d DOT vrabel AT n-shropshire DOT ac DOT uk A poor student (aren't they all) at: North Shropshire College Oswestry, Shropshire, UK