implicit exception frames? [Re: [fpc-pascal] If an Assert fails in constructor, then destructor called (?)]
Jonas Maebe
jonas.maebe at elis.ugent.be
Thu Jul 2 17:11:57 CEST 2009
On 02 Jul 2009, at 16:58, Martin Friebe wrote:
> Leaves question 2: Is there a way to switch it off, to avoid the
> cost of creating an exception frame? (if you are either sure your
> constructor does not throw an exception, or for some reason do not
> care)?
http://www.freepascal.org/docs-html/prog/progsu32.html
It also applies to the exception frames in constructors.
Note that while that page says it is set to OFF by default, it's
obviously set to ON by default. That error has already been corrected
in the svn version of the documentation.
Jonas
More information about the fpc-pascal
mailing list