> You can't get rid of that warning, and it should actually even be > worded more strongly. It is simply not possible to access C-style > varargs parameters at the callee side in FPC (you may be able to hak > using pointers which will work on some platforms, but it will crash > and burn in most cases).
This is the c prototype ( type ) translated, actualy it is a array of PCHAR. <code taken from apache source> const char *(*take_argv) (cmd_parms *parms, void *mconfig, int argc, char *const argv[]); </code> Is the following translation valid ? take_argv_t = function (parms: Pcmd_parms; mconfig: Pointer; argc: cint; argv: array of PChar): PChar; cdecl; -- Inoussa O. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel