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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to