This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Warnings from the egcs C compiler when compiling egcs-980129
- To: chj at lin dot foa dot se, egcs at cygnus dot com
- Subject: Re: Warnings from the egcs C compiler when compiling egcs-980129
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Wed, 4 Feb 1998 12:21:05 -0500 (EST)
> From: Christian Joensson FOA 72 <chj@lin.foa.se>
>
> I know that this is a bit tedious but, wouldn't it be great to be able to
> compile the egcs *without* warnings?
>
I am actively working on this.
> I just did a bootstrap of egcs-980129 and decided I would ``grep|sort'' the
> warnings out. As you can see, they are all from the g77 part except for two,
>
> /ChJ
You're getting more warnings in the g77 part because it adds
"-W -Wall" to the CFLAGS. When you add it to the whole bootstrap, you
get considerably more warnings (in the thousands) in the rest of the
tree.
G77 does relatively better with "-W -Wall" probably because
the maintainer used it by default, so the reported diagnostics were
addressed early on.
--Kaveh
--
Kaveh R. Ghazi Project Manager / Custom Development
ghazi@caip.rutgers.edu ICon CMT Corp.