delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/20/09:32:59

Date: Wed, 20 Jan 1999 09:30:47 -0500 (EST)
From: Frank Donahoe <fdonahoe AT wilkes1 DOT wilkes DOT edu>
To: Andris Pavenis <pavenis AT lanet DOT lv>
Cc: djgpp AT delorie DOT com
Subject: Re: Will gcc 2.8.1 compile itself under DJGPP 2.02?
In-Reply-To: <B0000064264@stargate.astr.lu.lv>
Message-Id: <Pine.A32.3.96.990120085150.5065B-100000@wilkes1.wilkes.edu>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com


On Mon, 18 Jan 1999, Andris Pavenis wrote:

> On 18 Jan 99, at 12:22, Frank Donahoe wrote:
> .......
> > 
> > Multiple warnings are issued about "size_t" (and wchar_t)
> > being defined in <stdio.h> and redefined in <atddef.h>
> > and "va_list" defined in <stdio.h> and redefined in <stdarg.h>.
> 
> It's know thing.   The problem is with  fixinc.djgpp.  However You can safely
> ignore these warnings.
> 
> > All three files are included in "djdev202.zip".  Is the
> > compiler being too pickey or should these files be protected
> > from eachother?
> 
> Ignore these messages.
> > 
> Andris
> 
It is one thing to ignore them when compiling the compiler with the
warning flags "-W" and "-Wall" raised  but: !!

I thought the rebuilding under v2.02 was completed when the size of
the installed executables stabilized.  However, when the new "gcc"
is used to build another program, in this case infozip's zip 2.3k
screen after screen of similar warnings are issued even without the
warning flags raised.  See below.  Since the released binaries do
not behave this way there is something which has gone wrong in the
build.  These warnings cannot be ignored.  If allowed to continue
it could undermine the faith of a whole generation of programmers
in the orthogonality of the standard header files.

; - - - - begin zip-err.281
In file included from tailor.h:116,
                 from zip.h:21,
                 from zip.c:18:
c:/djg/lib/gcc-lib/djgpp/2.81/include/stddef.h:168: warning: redefinition
of `size_t'
c:/djg/lib/gcc-lib/djgpp/2.81/include/sys/types.h:30: warning: `size_t'
 previously declared here
In file included from tailor.h:120,
                 from zip.h:21,
                 from zip.c:18:
c:/djg/lib/gcc-lib/djgpp/2.81/include/stdlib.h:38: warning: redefinition
of `wchar_t'
c:/djg/lib/gcc-lib/djgpp/2.81/include/stddef.h:243: warning: `wchar_t'
previously declared here
In file included from tailor.h:116,
                 from zip.h:21,
                 from crypt.c:20:
c:/djg/lib/gcc-lib/djgpp/2.81/include/stddef.h:168: warning: redefinition
....
and so on for 186 more lines
; - - - - end of zip-err.281

The program "zip.exe" seems functional.  Not at all unusual in size or
speed so the rebuilt gcc is working.

Regards,
Frank





- Raw text -


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