delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/22/14:26:57

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: I: VC++5.0 stdarg.h works in cygwin32
22 Aug 1998 14:26:57 -0700 :
Message-ID: <Pine.SUN.3.93.980821121209.14469A-100000.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <01BDCB3F DOT FAAB9950 DOT MCzapski AT openplus DOT com DOT au>
Mime-Version: 1.0
To: Michael Czapski <MCzapski AT openplus DOT com DOT au>
Cc: "'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>

On Wed, 19 Aug 1998, Michael Czapski wrote:

> Hello,
> 
> For a multi-platform project I had a need to use variable length argument lists 
> in C.  In VC++ (just the C part :-)) the stdarg.h was included and the code 
> works using va_start, va_end, etc..  The same code, compiled with gcc in the 
> cygwin32 environment breaks as there is no stdarg.h provided either in the 
> B19.x or in EGCS and varargs.h, which is provided in both, is non-ANSI.  For 
> these who are interested the VC++5.0 stdarg.h, copied with no changes, will 
> work just fine in the cygwin32 environment and will provide ANSI variable 
> argument list support.

Every version of gcc for mingw32/cygwin32/what-not has always come with
stdarg.h and varargs.h as part of gcc. Did you do a file search and come
up empty? If so, there is something wrong with the distribution.

Regards,
Mumit

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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