[fpc-pascal] SIGSEGV when using varargs calling

silvioprog silvioprog at gmail.com
Tue Jan 26 13:00:22 CET 2016


On Tue, Jan 26, 2016 at 5:34 AM, leledumbo <leledumbo_cool at yahoo.co.id>
wrote:

> > 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.
>
> AFAIR it was supported until certain FPC version, but the dropped entirely
> to only for external C functions.
> The related error message (search for "varargs" here:
> http://www.freepascal.org/docs-html/user/userse62.html) explains it
> (better
> than the documentation page for varargs directive:
> http://www.freepascal.org/docs-html/ref/refsu88.html)


Thanks for sharing the links.

-- 
Silvio Clécio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160126/0d22c2c6/attachment.html>


More information about the fpc-pascal mailing list