Sven Barth wrote:
> Am 25.01.2016 04:42 schrieb "silvioprog" <[hidden email] > <mailto:[hidden email]>>:
> > 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.
As that entry notes, it was not supported: "There is however no way in
(Free) Pascal to access these arguments on the callee side". This
includes the case where you try to hack around this by declaring fake
parameters, such as what Silvio was doing.