Try this at the top of your unit(s):

[pascal]{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
{$H+}
[/pascal]
H+ is to turn long strings on by default, see if this helps

cheers,
Paul