Article View: de.comp.lang.c++
Article #210Re: Exception Handling, wo implementiert?
From: Robert Wilhelm
Date: Thu, 03 Aug 1995 13:25
Date: Thu, 03 Aug 1995 13:25
24 lines
1475 bytes
1475 bytes
Bernd Braun <braun@stahlw00.stahl.bau.tu-bs.de> writes:
>Meines Wissens ist Exception-Handling fuer die GNU-Compiler nur fuer
>die SUN's implementiert. Ich selber verwende mit Erfolg den IBM CSet++
>fuer OS/2 und den HP-CC.
Kleiner Auszug aus der g++-FAQ:
What's new in version 2.7.0 of gcc/g++
======================================
* Support for exception handling has been improved; more targets are
now supported, and throws will use the RTTI mechanism to match
against the catch parameter type. You must give the
`-fhandle-exceptions' to turn it on. Optimization is *not
supported* with `-fhandle-exceptions'; no need to report this as a
bug. You'll probably get an internal compiler error if you try it.
For exception handling to work your CPU must be a SPARC,
RS6000/PowerPC, 386/486/Pentium, or ARM. Other platforms are
missing the function to unwind the stack.
--
Robert Wilhelm rwilhelm@physik.tu-muenchen.de
Technical Details
Message-ID:
<3vqinl$5nr@sparcserver.lrz-muenchen.de>Path:
arc1-ca.pugleaf.net!lrz-muenchen.de!rwilhelmReferences:
<3vo0rj$4j0@trumpet.uni-mannheim.de> <3vqb85$iv@ra.ibr.cs.tu-bs.de>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!lrz-muenchen.de!rwilhelm From: rwilhelm@Physik.TU-Muenchen.DE (Robert Wilhelm) Newsgroups: de.comp.lang.c++ Subject: Re: Exception Handling, wo implementiert? Date: 3 Aug 1995 13:25:09 GMT Organization: Leibniz-Rechenzentrum, Muenchen (Germany) Distribution: world Message-ID: <3vqinl$5nr@sparcserver.lrz-muenchen.de> References: <3vo0rj$4j0@trumpet.uni-mannheim.de> <3vqb85$iv@ra.ibr.cs.tu-bs.de> NNTP-Posting-Host: speedy.cip.physik.tu-muenchen.de