[fpc-pascal] SIGSEGV when using varargs calling

silvioprog silvioprog at gmail.com
Tue Jan 26 12:59:36 CET 2016

On Mon, Jan 25, 2016 at 4:05 AM, Sven Barth <pascaldragon at googlemail.com>

> Am 25.01.2016 04:42 schrieb "silvioprog" <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. Trying to outsmart the compiler
> will only lead to trouble.
Indeed [1]. I found some Delphi programmers using this (wrong) calling,
eg[2][3]. :-/

[2] http://www.swissdelphicenter.ch/torry/showcode.php?id=2114

Silvio Cl├ęcio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160126/98603ab7/attachment.html>

More information about the fpc-pascal mailing list