Sven Barth wrote:
Am 25.01.2016 04:42 schrieb "silvioprog" <silviop...@gmail.com
<mailto:silviop...@gmail.com>>:
 > What I'm doing wrong? Can I use this callings on FPC in the DELPHI
mode?! :-/

Neither FPC nor Delphi allow you to declare your own varargs functions.
That it works in Delphi is by pure change.

It will also only work on certain platforms with Delphi, or even in C. E.g. on iOS/AArch64, varargs parameters are almost always passed differently compared to regular parameters.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to