[Lazarus] External SigFPE
Sven Barth
pascaldragon at googlemail.com
Tue Jul 9 15:33:09 CEST 2013
Am 09.07.2013 14:58 schrieb "Marco van de Voort" <marcov at stack.nl>:
>
> On Tue, Jul 09, 2013 at 10:27:59AM +0200, Kostas Michalopoulos wrote:
> > > for speed optimization. If you want to raise the exception on the
> > > correct location you should insert an fwait opcode after every
floating
> > > point operation which is very expensive.
> > >
> >
> > Is there a way to enable this in FPC? Sometimes i get weird FP
exceptions
> > that i'm not sure they point at the proper place.
>
> FPC does this by default. So if this is the problem, it is in external
code
> (e.g. C libs/DLLs) or assembler.
No, it does not as mentioned by Jonas in this bug report:
http://bugs.freepascal.org/view.php?id=19368
But maybe (not tested) this directive can help:
http://www.freepascal.org/docs-html/prog/progsu69.html
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130709/c76287dd/attachment-0003.html>
More information about the Lazarus
mailing list