From: "Filip Sielimowicz" Newsgroups: comp.os.msdos.djgpp Subject: Re: Possible bug: djdev203 + gcc 3.1, stdarg.h: va_list definition conflicts with stdio.h Date: Tue, 2 Jul 2002 09:05:07 +0200 Organization: ASK NorthPark http://www.npnet.org Lines: 38 Message-ID: References: <010601c22109$e1375f80$7540b10a AT eu DOT broadcom DOT com> NNTP-Posting-Host: inthands2.hands.com.pl X-Trace: wulkan.npnet.org 1025593700 22238 213.195.166.210 (2 Jul 2002 07:08:20 GMT) X-Complaints-To: usenet AT npnet DOT org NNTP-Posting-Date: Tue, 2 Jul 2002 07:08:20 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com As far as I remember, there's some info about this bug in gcc 3.x documentation. See DJDIR/gnu/gcc-3.x/readme.DJGPP (or something like that, I cant check it now). I installed gcc 3.1 yesterday and found information about some patch in this document (but I haven't "patched" yet ;) ) -- Filip Sielimowicz http://panda.bg.univ.gda.pl/~sielim > When I compile the following two-liner (using gcc -c) > with DJDEV203 and GCC31B installed: > > #include > #include > > I get an error message about 'va_list' being redefined. > > It is getting stdio.h from %DJDIR%/include and stdarg.h > from the compiler-specific include directory (which has > no stdio.h). > > I notice that in my Linux copy of GCC 3.1, the compiler > comes with its own copy of stdio.h as well, which perhaps > avoids this conflict. > > Please reply personally, I don't subscribe to this list. > Please be gentle if I've missed something obvious. > > Thanks, > -- > David Monksfield >