Mail Archives: djgpp/1997/02/25/20:25:42
Date: | 25 Feb 1997 13:37:00 +0100
|
From: | jth AT jth DOT ping DOT de (Jens Theisen)
|
Newsgroups: | comp.os.msdos.djgpp
|
Message-ID: | <6RYughwjoNB@jth.ping.de>
|
Subject: | exceptions in djgpp incomplete
|
Lines: | 18
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I have noticed that exception handling in djgpp isn't fully supported, at
least not in my version 2.7.2. Exceptions can only be caught as they are
thrown. No exception handler can catch a subclass from the class he wants
to have. I have testet a trivial program on both djgpp, gcc under linux
and watcom c++. Watcom C++ behaves the Stroustrup way, both other simply
don't catch my exception.
Besides, my djgpp sometimes crashes when dealing with exceptions, although
this need not necessarily be the fault of djgpp.
Well, actually, exceptions aren't mentioned in any doc I have about both
gcc and djgpp.
Since I really interested in exceptions, I'm now wondering if there is
another gcc version available, or perhaps coming soon, which has real
exception handling. Does anyone know of such?
- Jens Theisen / jth AT jth DOT ping DOT de -
- Raw text -