24.11.11 21:59, Sergei Gorelkin пишет:
1) Delphi uses EZeroDivide for floating-point division by zero, while FPC uses EDivByZero (the same exception class is used for integer division by zero). Should it be fixed? 2) Delphi uses EUnderflow for floating-point underflow condition, while FPC uses EOverflow. Should it be fixed?
Noticed that before too when ported my delphi code. I vote yes for both - it will simplify the porting.
It is better to handle paticular exception types in the user code than generic Exception class and therefore such differences may cause a malfunction of the application.
Btw, this article may be very useful for the task you are doing: http://www.delphikingdom.ru/asp/viewitem.asp?catalogid=1392
Best regards, Paul Ishenin _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel