Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: A J A Vick <A.J.Vick@durham.ac.uk>
Subject: stdargs functions
Date: 16 Feb 1994 17:08:30 GMT	[thread overview]
Message-ID: <2jtjue$kv2@mercury.dur.ac.uk> (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
------------------------------------------------------------





                 reply	other threads:[~1994-02-16 17:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox