Mail Archives: djgpp-workers/2004/12/28/11:11:30
Anyone?
------- Start of forwarded message -------
Date: Tue, 28 Dec 2004 15:20:39 +0200
From: boykobb AT mail DOT bg
To: dj AT delorie DOT com
Content-Disposition: inline
X-Originating-IP: 83.148.67.82
Hello!
First, I want to thank you for producing and
maintaining the DJGPP which I use for several
years now.
And may you have a very healthy and happy New Year 2005!
I would like to report of a small problem with
using varargs in gcc. If I write
#include <stdarg.h>
#include <stdio.h>
(in any order) the compiler reports an
`error: conflicting types for va_list'
because of a `previous declaration of va_list'
seen in the first of the two files included
(whichever it is). If I cite the full name
of stdarg.h, as in
#include "/djgpp/include/stdarg.h"
there appears to be no conflict.
Currently I am using version 3.42 of the compiler,
but if I remember correctly, the problem appears with
all versions 3.xx.
Regards,
Boyko Bantchev
------- End of forwarded message -------
- Raw text -