>>>>> "ib" == Ivan Boldyrev <[EMAIL PROTECTED]> writes:

  ecm> Making calls to vararg functions is platform-dependent, and
  ecm> CMUCL doesn't have the necessary glue to enable it (though it
  ecm> probably works "by accident" on current platforms if you use
  ecm> EXTERN-ALIEN and declare the actual types passed).

  ib> Every C call just push arguments on stack, doesn't it?  Or compiler
  ib> must exactly know which function is vararg and which is not?

  the compiler needs to know, yes. The calling convention used by
  variadic functions is not specified by the ANSI C standard. On some
  platforms it looks like a normal function call, but on others (eg
  PowerPC) it is trickier, in particular when passing structs or
  floating point numbers around.
  
-- 
Eric Marsden                          <URL:http://www.laas.fr/~emarsden/>

Reply via email to