#1 2012-11-01 07:26:54

TPrami
Member
Registered: 2010-07-06
Posts: 105

Small error found...

Hello,

function GetCardinal(P: PAnsiChar): cardinal; overload;

at SynCrtSock.pas don't like if project is compiled with Range Checks on...

I think it would be best if all code depending the Range; overflow or IO Checking is off on project, will handle it it self with compiler directives. In other words, code should work as expected regardless of the Run time error-settings or any other compiler setting...

-Tee-

Offline

#2 2012-11-01 10:19:06

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,183
Website

Re: Small error found...

All mORMot code expects to be compiled with Range Check OFF.
I've added those conditional properties for this unit.

This will make the unit expectations uncoupled from the project options.
See http://synopse.info/fossil/info/b817ab4910

Offline

Board footer

Powered by FluxBB