This project is read-only.

floating point division by zero 4.9.2

Dec 3, 2014 at 8:24 AM
Hi, i just installed version 4.9.2 on C++Builder and when i put a TMap component on the form i get the error "floating point division by zero" (yes, just when i put, before to compile).
It makes the same thing with version 4.9.1, while version 4.8.8 works fine.
Obviously, suppressing compiler floating point exceptions doesn't work...

Any help is really appreciated...

Dec 3, 2014 at 5:27 PM
Hi Diego, I guess something similar was already reported:
I haven't studied it myself. We are preparing v4.9.3 beta now, so if there is a way we can fix the problem, please let us know.

Dec 3, 2014 at 7:37 PM
Edited Dec 3, 2014 at 9:12 PM
An update: I reproduced the issue and caught the exception by debugging BCB in VS. Division by zero indeed. Here is a fix: VS compiler suppresses floating point exceptions by default, while Borland BCB - no. I managed to get it in VS only after setting _controlfp(0, EM_ZERODIVIDE). I'll play around with it in the next days. Probably there are other weak spots.
Dec 4, 2014 at 6:11 PM
Ok Sergei, thank you very much for your time!!!

When do you think v4.9.3 beta will be released?

Dec 4, 2014 at 8:26 PM
I think somewhere within a week.
Dec 31, 2014 at 11:07 AM
Hi, just tried the last version v4.9.3.1, it works fine!

Thank you and happy new year!

Marked as answer by devcomm on 12/31/2014 at 3:07 AM