www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2004/12/28/11:11:30

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Date: Tue, 28 Dec 2004 11:10:47 -0500
Message-Id: <200412281610.iBSGAlHs004201@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
Subject: [boykobb AT mail DOT bg: ]
Reply-To: djgpp-workers AT delorie DOT com

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 -


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