Warnings from the egcs C compiler when compiling egcs-980129
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Wed Feb 4 09:21:00 GMT 1998
> 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.
More information about the Gcc
mailing list