From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,b1cd27db8b4f365c X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-03-21 04:13:31 PST Path: gmd.de!newsserver.jvnc.net!yale.edu!yale!gumby!wupost!howland.reston.ans.net!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!john From: john@iastate.edu (John Hascall) Newsgroups: comp.unix.osf.misc Subject: Re: Known problems with varargs on Alpha OSF/1 1.3? Date: 21 Mar 1994 12:13:31 GMT Organization: Iowa State University, Ames, Iowa (USA) Message-ID: <2mk31b$ah4@news.iastate.edu> References: <1978@applix.com> NNTP-Posting-Host: pooh.cc.iastate.edu Keywords: Alpha Sean Murphy 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