Apologies for my poor threading. Sven said:

> Unix based systems might be a different topic altogether. I've no
> experience regarding cross module excetions on *nix, so I can't
> comment whether it works or not...

> Summa summarum: don't let exceptions travel past the DLL boundary. One
> might be able to fix it on Windows, but *nix maybe not so much...

Forcing an integer divide-by-zero error in a routine in a .so on i386 Linux, with an exception handler in the main program, I get a floating point error reported in the shell session. So it's definitely not trapped, and might be mis-reported.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to