Date: Fri, 14 Jun 2002 12:10:34 +0300 (WET) From: Andris Pavenis X-Sender: pavenis AT ieva06 To: "Burgers, A.R." Cc: "'djgpp AT delorie DOT com'" Subject: Re: gcc 3.1: conflict between stdio.h and stdarg.h In-Reply-To: <92D6AAE888CED411A16A00508BB0B827028FCCD5@ecntex.ecn.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk On Fri, 14 Jun 2002, Burgers, A.R. wrote: > Hello, > > consider the following two-line file: > > bash-2.04$ cat zz.c > #include > #include > > 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 gcc31b.zip for include/sys/djtypes.h Andris