www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/01/12/07:45:10

From: "Ben Peddell" <killer DOT lightspeed AT bigpond DOT com>
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: 35
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: <8edU9.21927$jM5.60261@newsfeeds.bigpond.com>
Date: Sun, 12 Jan 2003 22:41:55 +1000
NNTP-Posting-Host: 144.139.175.168
X-Trace: newsfeeds.bigpond.com 1042374660 144.139.175.168 (Sun, 12 Jan 2003 23:31:00 EST)
NNTP-Posting-Date: Sun, 12 Jan 2003 23:31:00 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

I have djdev203!
Unfortunately, the compiler's stdarg.h is seen *before* libc's stdarg.h.
Also, libc's stdio.h declares va_* through <sys/djtypes.h>, the same file
that libc's stdarg.h declares va_* through, but the compiler's stdarg.h
declares va_* different. Perhaps you should consider fixing the defines in
<sys/djtypes.h> if the compiler's stdarg.h is so untouchable!


Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk> 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/ ]


- Raw text -


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