* stdargs functions
@ 1994-02-16 17:08 A J A Vick
0 siblings, 0 replies; only message in thread
From: A J A Vick @ 1994-02-16 17:08 UTC (permalink / raw)
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
------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1994-02-16 17:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-16 17:08 stdargs functions A J A Vick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox