Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: john@iastate.edu (John Hascall)
Subject: Re: Known problems with varargs on Alpha OSF/1 1.3?
Date: 21 Mar 1994 12:13:31 GMT	[thread overview]
Message-ID: <2mk31b$ah4@news.iastate.edu> (raw)
In-Reply-To: 1978@applix.com

Sean Murphy <sean@applix.com> wrote:
}Is anyone aware of any known problems with the varargs set of goodies
}as implemented on the DEC Alpha system running OSF/1 1.3? Any problems
}in the area of indexing thru the arg list with va_arg()?      

}I will avoid the gross details at this point, but it's got to do with
}getting garbage pointers after the 1st arg in an arg list. Anything 
}Alpha/OSF specific I should know?

   We've ported several programs using varargs.  Those which 
   were correct worked fine.  Those which were brain-damaged,
   for example:

        dumbfunc(brain, damage, va_alist)
             int brain, damage;
             va_dcl
        { ...

   don't work under OSF/1 (although you could get away with this
   *improper* behavior under, for example, Ultrix).

John
PS, speaking of brain-damage, which numbskull decided not to
    have a semi-colon after "va_dcl"?!?!
-- 
John Hascall                   ``An ill-chosen word is the fool's messenger.''
Systems Software Engineer
Project Vincent
Iowa State University Computation Center  +  Ames, IA  50011  +  515/294-9551


  parent reply	other threads:[~1994-03-21 12:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-03-08  0:11 Known problems with varargs on Alpha OSF/1 1.3? Sean Murphy [ext 332]
1994-03-21  0:51 ` Sean Levy
1994-03-21 12:13 ` John Hascall [this message]
1994-03-22 15:39   ` Keith Refson
1994-03-22 18:00     ` Randy Buckland
1994-03-22 18:09       ` Randy Buckland
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