delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/06/02/10:21:04

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3CFA1583.5AC846E7@phekda.freeserve.co.uk>
Date: Sun, 02 Jun 2002 13:54:27 +0100
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: DJGPP CVS & gcc 3.1 [patch included]
References: <10205280349 DOT AA23034 AT clio DOT rice DOT edu>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Charles Sandmann wrote:
> Perhaps force warnings to errors should be disabled in the "phase 1" build,
> where we build native tools to help us build the distribution (but are
> not actually part of the distribution).
> 
> Since GCC 3.x seems to be adding more warnings each release, forcing each
> of these to be errors seems to be a really harsh thing to do, unless we
> can turn off the warnings we dislike.
> 
> Still, GCC 3.x really requires a refreshed djtypes.h, and I think we will
> eventually get a refreshed djdev203.zip out there - it's just been a
> very busy month ...

Well the problem with building the prerequisites (hostbin/*) is that the gcc
messages aren't warnings - they're errors. For instance in src/mkdoc:

bash-2.04$ make all
gcc -g mkdoc.cc -lstdcxx -o ../../hostbin/mkdoc.exe
In file included from mkdoc.cc:14:
c:/djgpp/lib/gcc-lib/djgpp/3.1/include/stdarg.h:110: conflicting types for `
   typedef char*va_list'
c:/djgpp/include/stdio.h:35: previous declaration as `typedef void*va_list'
make.exe: *** [../../hostbin/mkdoc.exe] Error 1
bash-2.04$ gcc -g mkdoc.cc -lstdcxx -o ../../hostbin/mkdoc.exe
In file included from mkdoc.cc:14:
c:/djgpp/lib/gcc-lib/djgpp/3.1/include/stdarg.h:110: conflicting types for `
   typedef char*va_list'
c:/djgpp/include/stdio.h:35: previous declaration as `typedef void*va_list'
bash-2.04$ gcc -g -Wno-error mkdoc.cc -lstdcxx -o ../../hostbin/mkdoc.exe
In file included from mkdoc.cc:14:
c:/djgpp/lib/gcc-lib/djgpp/3.1/include/stdarg.h:110: conflicting types for `
   typedef char*va_list'
c:/djgpp/include/stdio.h:35: previous declaration as `typedef void*va_list'

So I think the only way is to copy sys/djtypes.h from CVS to the DJGPP
installation.

Bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


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