I get this error:
StaticLinkingUtils.pas(63,65) Fatal: Syntax error, "BEGIN" expected but "[" found
On this line:
function _log(x: double): double; cdecl; export; {$ifdef Win64} [alias: 'log']; {$endif}
begin
result := 0; // ln(x);
end;
I use this code to link statically some .o files from GCC compiler.
I attach full code in a file.
Lazarus 2.1.0 r63658 FPC 3.3.1 x86_64-win64-win32/win64
P.S. No problem with FPC 3.2.0