Mail Archives: djgpp/2003/01/12/07:45:10
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 -