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



--
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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to