From: "Ben Peddell" Newsgroups: comp.os.msdos.djgpp References: <%kET9.17088$q67 DOT 14211 AT news-binary DOT blueyonder DOT co DOT uk> <1042224128 DOT 205850 AT queeg DOT ludd DOT luth DOT se> <0oNT9.5250$CZ5 DOT 4796 AT news-binary DOT blueyonder DOT co DOT uk> <3E1FE7D8 DOT 6490E6C3 AT phekda DOT freeserve DOT co DOT uk> <1JST9.21169$jM5 DOT 57907 AT newsfeeds DOT bigpond DOT com> <3E20271B DOT 2A8E87E8 AT phekda DOT freeserve DOT co DOT uk> Subject: Re: stdarg.h problem(s)? Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Sun, 12 Jan 2003 22:45:31 +1000 NNTP-Posting-Host: 144.139.175.168 X-Trace: newsfeeds.bigpond.com 1042374876 144.139.175.168 (Sun, 12 Jan 2003 23:34:36 EST) NNTP-Posting-Date: Sun, 12 Jan 2003 23:34:36 EST Organization: Telstra BigPond Internet Services (http://www.bigpond.com) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Um, I just looked at a different thread in this conversation, and a patch is already available. I withdraw my last post. Richard Dawe wrote in message news:3E20271B DOT 2A8E87E8 AT phekda DOT freeserve DOT co DOT uk... > Hello. > > Ben Peddell wrote: > > If you remove the stdarg.h file from the > > $djdir$/lib/gcc-lib/djgpp/3.21/include directory, you won't get the > > compilation errors. There is in fact a stdarg.h file in the $djdir$/include > > directory, which gets its va_* from $djdir$/include/sys/djtypes.h, the same > > file that $djdir/include/stdio.h gets its va_* from. > > Dude, DON'T MESS WITH FILES UNDER lib/gcc-lib! This directory is private to > the compiler. > > Please don't advise people to do this. You can fix the problem by upgrading to > the latest djdev203, which is the right way to fix it. > > Regards, > > -- > Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]