Mail Archives: djgpp-workers/2002/06/02/10:21:04
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 -