delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/07/21/02:43:02

Message-Id: <200007210639.IAA27173@mailgw3.netvision.net.il>
Date: Fri, 21 Jul 2000 09:38:52 +0200
To: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
CC: djgpp-workers AT delorie DOT com
In-reply-to: <39774EA5.7AA0AE0F@softhome.net> (message from Laurynas Biveinis
on Thu, 20 Jul 2000 21:10:29 +0200)
Subject: Re: <stdarg.h> matters
References: <39774EA5 DOT 7AA0AE0F AT softhome DOT net>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Thu, 20 Jul 2000 21:10:29 +0200
> From: Laurynas Biveinis <lauras AT softhome DOT net>
> 
> #if ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 96)) || (__GNUC__ >= 3)
> #error Error in DJGPP installation - GCC headers not properly installed
> #endif

I agree with DJ: if you can make our headers work as they do today,
there's no need to fail the compilation just because GCC's stdarg.h is
not there.  Simply let our definitions take place of the missing GCC's
one.  If our definitions need to be changed slightly to be a better
match for the code produced by GCC, we can do that, too.

> #define __need___va_list
> #include <stdarg.h>
> #ifndef _VA_LIST_
> typedef __gnuc_va_list va_list
> #define _VA_LIST
> #endif

I don't understand the last part of it--the one conditioned on
_VA_LIST.  Could you please explain what problem(s) is it meant to
solve?

- Raw text -


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