Page 1 of 1

Range check errors on 6.5.1alpha - 20060523

Posted: 19.06.2006, 11:17
by noelc
Range check errors are occuring at various points in ZDBCInterbase6Utils. Each of these points is close to a comment that reads { WAS RC OFF }. I assume that range checking was previously switched off for those parts of the source - and to be honest statements such as...

SqlVar := @FXSQLDA.SqlVar;

really can not be subject to range checking, so those compiler switches should have been left in. Was there a reason for removing them?

Posted: 19.06.2006, 13:44
by noelc
Just a quick postcript to my last message... I re-instated the {$R+} and {$R-} at the relevant points and rebuilt the packages and it works without problem now.

Posted: 19.06.2006, 13:47
by mdaems
Hi Noelc,

Do you mind sending us a patch? I prefer a patch against SVN testing branch, but eventually a patch against your version would be nice as well.
Thanks in advance,

Mark