Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2001-12

Compile bug - cdecl; export; exports

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Daniel / Tecnobyte
-----------------------------------------
library libtest;
function sum(x, y: integer): integer; cdecl; export;
begin
  sum := x + y;
end;
exports
  sum name 'sum';

end.
-----------------------------------------
This library compile in Windows, but it doesn't compile in Linux.

I use FPC 1.04

-----------------------------------------
Daniel Pereira Guimaraes
Brazil

Reply by email