delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/27/17:56:28

Date: 27 May 96 17:46:58 EDT
From: Fulco Bohle <100662 DOT 3563 AT CompuServe DOT COM>
To: Delorie <djgpp AT delorie DOT com>
Subject: ...
Message-ID: <960527214658_100662.3563_EHV104-1@CompuServe.COM>

Hello DJ,

I have a problem with variable number of arguments:
the code snippet below generates an error.

int	praecepta( a, ...)
int	a;
	{
	...
	}

however if we modify it to a more modern form

int	praecepta( int a, ...)
	{
	...
	}

the error disappears as snow under the sun.
is this a bug ?

Regards,

Fulco Bohle.

PS ( I am not on your maillist too much info is no info)

- Raw text -


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