[fpc-pascal] Minimal Sylpheed plugin in FreePascal

Anton Shepelev anton.txt at gmail.com
Tue May 17 22:03:14 CEST 2011


Jonas Maebe:

> One  likely  potential cause is the fact that released FPC
> versions enable all floating point exceptions. Since  libc
> does  not  do that, many C programs and frameworks contain
> invalid floating point operations.

Wow! Many thanks. I thought that information would  be  use-
less,  but  indeed,  the  crash  is  due to a floating-point
exception. I have Visual Studio at work and  it  intercepted
the  error  and  said it was a floating point exception. And
after it has been masked as you  suggested  my  Pascal  code
works.

Do  I understand correctly, that at load my library was dis-
abling the exception mask for the whole program?

Is masking such exceptions a common practice in C?  Will  it
be politically correct to ask the developer to fix the prob-
lem?

Thank you again, Jonas
Anton



More information about the fpc-pascal mailing list