Re: [fpc-pascal] Linking FPC code to a C program
vtech at volny.cz
vtech at volny.cz
Mon May 24 14:21:09 CEST 2010
Hi a thank you for quick reply, but I've tried that before:
Fatal: Syntax error, ";" expected but "identifier NAME" found
Could it be mode dependant? (I use -Mobjfpc)
V.
> It's normal name mangling, just like C++ also does.
> To force a
> specific name try something like this:
>
> function aplusb(a,b:longint):longint;cdecl name '_aplusb';
>
> --
> Felipe Monteiro de Carvalho
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list