delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/08/18/18:03:14

Date: Tue, 18 Aug 92 17:12:51 EDT
From: DJ Delorie <dj AT ctron DOT com>
To: pynq AT midway DOT uchicago DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: What is the difference beteen <varargs.h> & <stdarg.h> ?

>They seem to define va_start differently.  If I include stdarg.h, things
>work the way they should, but if I include varargs, it complains that
>va_start has too many args.

>Are there conflicting standards about how variable arg lists are
>to be implemented?

One is ANSI (stdarg) and the other is BSD (I think).  They are not
compatible at all.

DJ
dj AT ctron DOT com
Life is a banana.

- Raw text -


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