www.delorie.com/djgpp/bugs/show.cgi   search  
Bug 000352

When Created: 07/02/2002 12:45:25
Against DJGPP version: 2.00
By whom: salem7171@hotmail.com
Abstract: conflicting types for `va_list'
c:/djgpp/lib/gcc-lib/djgpp/3.1/include/stdarg.h:110: conflicting types for `va_list' 
c:/djgpp/include/stdio.h:35: previous declaration of `va_list'

Note added: 07/09/2002 03:08:42
By whom: gianmario.bollano@tin.it
The bug is present in the last DJGPP release: 2.03 - gcc3.1

It appears when the following library are declared:

#include <stdio.h>
#include <stdarg.h> 

I have tried to compare the above files with the mingw-gcc-3.1 snapshot,
but I was not able to find a solution (however, the fix should be simple,
probably involves the definition of __dj_include_stdarg_h_).

Solution added: 08/17/2002 03:28:55
By whom: sandmann@clio.rice.edu
This can be fixed by modifying sys/djtypes.h as directed in the gcc31.README file (included with GCC 3.1 distribution - this problem is only seen with GCC 3.1 - not earlier GCC distributions).  This fix is also provided in the updated djdev203.zip which has been available on Simtel mirrors since mid August, 2002.

Either hand edit sys/djtypes.h or install an updated djdev203.zip.

Solution added: 09/23/2002 17:19:13
By whom: richdawe@bigfoot.com
This bug was fixed in refresh 2 of DJGPP 2.03.

Fixed in version 2.03m2 on 09/23/2002 17:19:36
By whom: richdawe@bigfoot.com



  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2010   by DJ Delorie     Updated Jul 2010