OKay the issue is I am building proxy units for a webservice to be used in delphi 7
However Lazaraus is generating unicode types not available in delphi 7
What I have done to get arround the problem is this:
Update wstglobal.inc to undefine WST_UNICODESTRING in FPC
update the below object_serializer lines:
{$IFDEF WST_UNICODESTRING}
,( Simple : @UnicodeStringReader; Qualified : @UnicodeStringReaderQualified ;) //tkUString
,( Simple : @ErrorFunc; Qualified : @ErrorFunc ;) //tkUChar
{$ELSE}
,( Simple : @ErrorFunc; Qualified : @ErrorFunc ;) //tkUString
,( Simple : @ErrorFunc; Qualified : @ErrorFunc ;) //tkUChar
{$ENDIF WST_UNICODESTRING}
{$IFDEF WST_UNICODESTRING}
,( Simple : @UnicodeStringWriter; Qualified : @UnicodeStringWriterQualified ;) //tkUString
,( Simple : @ErrorProc; Qualified : @ErrorProc ;) //tkUChar
{$ELSE}
,( Simple : @ErrorProc; Qualified : @ErrorProc ;) //tkUString
,( Simple : @ErrorProc; Qualified : @ErrorProc ;) //tkUChar
{$ENDIF WST_UNICODESTRING}
All good now.
Kind Regards,
Robert