[fpc-pascal] SIGSEGV when using varargs calling
Jonas Maebe
jonas.maebe at elis.ugent.be
Tue Jan 26 09:45:02 CET 2016
Sven Barth wrote:
> Am 25.01.2016 04:42 schrieb "silvioprog" <silvioprog at gmail.com
> <mailto:silvioprog at 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
More information about the fpc-pascal
mailing list