This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: proposed patch: protos for warning(), error()
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: proposed patch: protos for warning(), error()
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 15 Apr 1998 16:59:07 -0600
- cc: robertl at dgii dot com, rth at cygnus dot com, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199804151508.LAA02991@caip.rutgers.edu>you write:
> I'm not liking the ugliness factor here. Let's not jump
> through too many hoops and introduce too many oddities just to avoid
> some one time editing.
Right.
> I suggest that we "do the right thing". I.e. include toplev.h
> only in those files which use one or more of the relevant functions,
> which link with toplev.o, and after including rtl.h/tree.h so we get
> the proper definition for `tree'.
I'd tend to agree. Let's try and do this right so that we don't
end up having to live with a wart later -- there's far too many
in the compiler already.
jeff