Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: christos@deshaw.com (Christos Zoulas)
Subject: Re: va_list on OSF1/DEC C compiler
Date: Mon, 20 Dec 1993 03:29:37 GMT	[thread overview]
Message-ID: <CIBDpD.3xH@deshaw.com> (raw)
In-Reply-To: 2enq89$bqp@overload.lbl.gov

In article <2enq89$bqp@overload.lbl.gov> jin@gracie.lbl.gov (Guojun Jin[ITG]) writes:
>I am frustrating to use va_list on OSF1/DEC ALPHA C compiler.  The va_list
>must be used alone without any argument on the protocol list.  Other compilers
>all use this format:
>
>	func_or_proc(a1, a2, ..., an, va_alist)
>	...
>	{
>	...
>	}
>
>However, the OSF1/DEC ALPHA C compiler does not allow other arguments go on
>protocol line with va_list:
>
>	func_or_proc_alpha(va_alist)
>	va_dcl
>	{
>	...
>	}
>

[stuff deleted]

>or there is a bug in its C compiler.
>
>If we hope either OSF/DEC to fix it, to whom should we send request?
>
>Thanks for any advises,

This is not a bug! The bug is in your code. The only guaranteed working 
form of varargs is when va_list is the one and only argument.

christos


      parent reply	other threads:[~1993-12-20  3:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-12-15 19:58 va_list on OSF1/DEC C compiler Guojun Jin[ITG]
1993-12-16  1:51 ` John T. Kohl
1993-12-20  3:29 ` Christos Zoulas [this message]
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