proposed patch: protos for warning(), error()
Robert Lipe
robertl@dgii.com
Wed Apr 15 13:12:00 GMT 1998
> 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.
What we now have isn't too horrible.
> If you examine the current prototypes in tree.h/rtl.h, they
> already have much of the contents of the proposed toplev.h file except
> that fatal/error/warning are #ifdef'ed out. I think this is because
> of the exact reason I gave regarding the conflicts with static copies
> of `fatal'. Let's not enshrine this problem.
The pertinent part of one of those two files became toplev.h.
> 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,
It's drudgery I was hoping to avoid. If we get a consensus that this
is the right thing to do, I'll do it.
I'm not unhappy with toplev.h as it now stands after rth's suggestions.
RJL
More information about the Gcc
mailing list