Mail Archives: djgpp/2002/06/14/06:26:53

Date: Fri, 14 Jun 2002 12:10:34 +0300 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
X-Sender: pavenis AT ieva06
To: "Burgers, A.R." <burgers AT ecn DOT nl>
Cc: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: Re: gcc 3.1: conflict between stdio.h and stdarg.h
In-Reply-To: <>
Message-ID: <Pine.A41.4.05.10206141209230.29706-100000@ieva06>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, 14 Jun 2002, Burgers, A.R. wrote:

> Hello,
> consider the following two-line file:
> bash-2.04$ cat zz.c
> #include <stdio.h>
> #include <stdarg.h>
> This compiles fine with gcc 2.95-3.
> Compiling it with gcc 3.1 gives the following error:
> bash-2.04$ gcc -c zz.c
> In file included from zz.c:2:
> c:/djgpp/lib/gcc-lib/djgpp/3.1/include/stdarg.h:110: conflicting types for
> `va_list'
> c:/djgpp/include/stdio.h:35: previous declaration of `va_list'

Apply patch from gnu/gcc-3.1/readme.DJGPP (near the end of file) from for include/sys/djtypes.h


- Raw text -

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