[fpc-pascal] SIGSEGV when using varargs calling

leledumbo leledumbo_cool at yahoo.co.id
Tue Jan 26 09:34:23 CET 2016

> 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:

View this message in context: http://free-pascal-general.1045716.n5.nabble.com/SIGSEGV-when-using-varargs-calling-tp5723661p5723669.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.

More information about the fpc-pascal mailing list