Mail Archives: djgpp/1996/06/26/19:50:45
Eric NICOLAS wrote:
>
> Hi djgpp gurus !
>
> Using: djgpp v2, first non-beta release
>
> I have some problems with C++ exceptions handling. First if I compile
> a C++ program (for example test.cc) which use try/throw/catch, the
> compiler answers that exception handling is disable and that I must
> use -fhandle-exceptions to enable it. This flag is not documented
> in the info files for gcc. strange.
Yep. I tried exceptions with 2.7.0 (on a linux box) when I heard
it did support exceptions (and you *do* need those for errors
in constructors...). But when it spit back that message... I gave up.
Hoping for 2.8... hope it supports more (all?) of the upcoming
ANSI Std.
> Then If I have two exceptions classes A and B, with B deriving from
> A, I should be able to catch exceptions B with a catch(A), no ? (I read
> that in the strousup's book).
Thass right... the exception system is strangely similar to
Common-Lisp's...
*SNIIIIIIIIIIIP (that P is rather 'wet')*
> Does anybody have an explanation ???
As I said... I don#t *use* the stuff. When they put an option into
a program that is not documented AND SHOULDN'T BE NECESSARY IN THE
FIRST PLACE... I don#t trust it. Simple. Very little trouble.
> Take a look to the SWORD home page :
> france: http://bunny.ensea.fr/Pages_Perso/Cedric_Joulain/sword.web/home.html
> us: http://www.iquest.net/~cworley/sword.web/home.html
Oh, I will... BTW, how's tricks? Didn't get to check out your DJFC
yet... maybe today. Or did you get some more stuff done since you sent
it?
--
Juergen A. Erhard
eMail: jae AT laden DOT ilk DOT de
snailMail: Belfortstr. 6; 76133 Karlsruhe; GERMANY
phone: (+49) (0)721/27326 (private, hard to reach)
(+49) (0)721/6633-115 (business)
- Raw text -