Range check errors on 6.5.1alpha - 20060523

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
noelc
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: 13.06.2006, 10:54

Range check errors on 6.5.1alpha - 20060523

Post 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?
noelc
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: 13.06.2006, 10:54

Post 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.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post 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
Post Reply