You are not logged in.
Pages: 1
@Aranud,
Why for Delphi XE2-32 and mORMot 1.18.1617 gets an error?:
[DCC Error] SynSelfTests.pas(5232): E2010 Incompatible types: 'PUTF8Char' and 'PAnsiChar'
--> Check(UTF8ContentNumberType('null')=sftUnknown);
In Delphi XE7-32 does not have this problem.
Michal
Offline
In Delphi XE3 also this error occurs.
Michal
Offline
@Aranud,
Additionally, came the error:
[DCC Error] SynSelfTests.pas(3341): E2010 Incompatible types: 'PUTF8Char' and 'PAnsiChar'
--> check(not JsonPropNameValid(#0));
mORMot 1.18.1635 Delphi XE2-32, Delphi XE3-32
Offline
Please try http://synopse.info/fossil/info/2442cc567b
Offline
New bug disappeared but this error still occurs in Delphi XE2-32, XE3-32 (mORMot 1.18.1637):
[DCC Error] [DCC Error] SynSelfTests.pas(5245): E2010 Incompatible types: 'PUTF8Char' and 'PAnsiChar'
--> Check(UTF8ContentNumberType('null')=sftUnknown);
... and the next 15 line.
Michal
Last edited by miab3 (2015-07-14 18:45:02)
Offline
Please try http://synopse.info/fossil/info/2d67e6b754d
Offline
It's working now for XE2-32, but still fails for XE2-64
[DCC Error] SynSelfTests.pas(3320): E2010 Incompatible types: 'PUTF8Char' and 'PAnsiChar'
--> Check(not IdemPropNameUSameLen('abcD','ABcF',4));
[DCC Error] SynSelfTests.pas(3321): E2010 Incompatible types: 'PUTF8Char' and 'PAnsiChar'
--> Check(not IdemPropNameUSameLen('abcD','ABcFG',4));
[DCC Error] SynSelfTests.pas(3322): E2010 Incompatible types: 'PUTF8Char' and 'PAnsiChar'
--> Check(IdemPropNameUSameLen('abcDe','ABcdE',5));
Offline
Such a joking Delphi compiler!
Offline
It's working now for XE2 both 32bit and 64bit.
Thanks
Offline
Pages: 1