On 11 Nov 2012, at 20:57, Bernd wrote: > 2012/11/11 Jonas Maebe <jonas.ma...@elis.ugent.be>: > >> No, because the C varargs calling convention does not simply pass the >> parameters on the stack on most platforms. > > Where else are the arguments if not on the stack?
In registers. > Everything I have > read so far about varargs and cdecl says they are on the stack. Then you probably only read about i386 ABIs (and maybe m68k). Jonas_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal