From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,36c65337fbc27fec,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-02-16 09:08:30 PST Path: gmd.de!xlink.net!howland.reston.ans.net!pipex!uknet!strath-cs!nntphost.dur.ac.uk!vega.dur.ac.uk!dph3ajv From: A J A Vick Newsgroups: comp.unix.osf.osf1 Subject: stdargs functions Date: 16 Feb 1994 17:08:30 GMT Organization: University of Durham, Durham, UK Distribution: world Message-ID: <2jtjue$kv2@mercury.dur.ac.uk> NNTP-Posting-Host: vega.dur.ac.uk Im trying to compile the new release of Meschach on alpha OSF/1.3, using cc, and the varargs functions dont seem to be able to map a typedef'd structure. vlinlist( double *out, double f, ....) { va_list ap; va_start(ap, f); - puts me in the right place, but typedef struct { double re,im } complex; zvlinlist( double *out, complex z, ....) { va_list ap; va_start(ap, z); - seems to leave the argument list scrambled (pointing to z.im ?). Does anybody know whats happening or how I can get round this ? ------------------------------------------------------------ Andy Vick, Internet: A.J.Vick@durham.ac.uk Department of Physics, University of Durham ------------------------------------------------------------