Hello,
The problem seems more related to Delphi, but I want to understand why it compiles only in FPC.
The declaration is just:
=== begin code ===
var
FmtStr: function(const fmt: PAnsiChar): PAnsiChar; cdecl; varargs;
=== end code ===And the full console project to test it in attachment.
It compiles only in FPC, in Delphi I got:
E2029 ',' or ':' expected but ';' found
Why? I don't know if it's a bug in Delphi or a breach in FPC.
ps. it compiles fine in FPC even using `$mode delphi`.
