delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/28/02:59:02

Date: Tue, 28 May 1996 09:43:29 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Fulco Bohle <100662 DOT 3563 AT CompuServe DOT COM>
Cc: Delorie <djgpp AT delorie DOT com>
Subject: Re: ...
In-Reply-To: <960527214658_100662.3563_EHV104-1@CompuServe.COM>
Message-Id: <Pine.SUN.3.91.960528094148.11160A-100000@is>
Mime-Version: 1.0

On 27 May 1996, Fulco Bohle wrote:

> I have a problem with variable number of arguments:
> the code snippet below generates an error.
> 
> int	praecepta( a, ...)
> int	a;
> 	{
> 	...
> 	}

ANSI C requires that functions with variable arguments be defined in the 
context where their prototype is visible.  So I think this is not a bug.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019