You are not logged in.
Pages: 1
Hi,
sorry.
I had an old SynCommons.pas in an other library path.
After deleting this file my project compiles with XE3 and the PDF generation works as expected.
Thank You.
Regards,
Jens
Hi,
the latest SynCommon.pas does not compile with XE3.
[dcc32 Error] SynCommons.pas(15707): E2016 Array type required
[dcc32 Warning] SynCommons.pas(15707): W1024 Combining signed and unsigned types - widened both operands
[dcc32 Error] SynCommons.pas(16446): E2016 Array type required
[dcc32 Error] SynCommons.pas(16542): E2016 Array type required
[dcc32 Warning] SynCommons.pas(16542): W1024 Combining signed and unsigned types - widened both operands
[dcc32 Error] SynCommons.pas(16886): E2016 Array type required
[dcc32 Error] SynCommons.pas(17146): E2016 Array type required
[dcc32 Warning] SynCommons.pas(17146): W1024 Combining signed and unsigned types - widened both operands
[dcc32 Error] SynCommons.pas(19627): E2029 Expression expected , but 'END' found
[dcc32 Warning] SynCommons.pas(21276): W1058 Implicit string cast with potential data loss from 'string' to 'WinAnsiString'
[dcc32 Fatal Error] SQLite3Pages.pas(437): F2063 Could not compile used unit 'SynCommons.pas'
The E2016 Errors (Array type required) occurs after each
Field.TypeInfo^^.Name[0]
{ Delphi 2009/2010/XE: set Code page for this AnsiString }
if Len<>0 then
PWord(PPtrUInt(R)^-12)^ := PWord(PtrUInt(Field.TypeInfo^)+
ord(Field.TypeInfo^^.Name[0])+2)^;
{$endif}
This are a few too many pointers for me. Unfortunately, I do not understand the code.
What do I need to change so that the unit under XE3 can be compiled?
Thank You,
Regards,
Jens
Pages: 1