This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC/RFA: basic-improvements: split config.h and tm.h


On Tue, 12 Nov 2002 09:56:53 -0800, Mark Mitchell wrote:
> > So.  Thoughts?  Flames?  Approvals?
> 
> I think this is a pretty good plan.
> 
> I don't understand this step:
> 
>   Step three is a mechanical change that touches every last .c file,
>   inserting #includes of coretypes.h and tm.h after system.h.  Unlike
>   the last time, I am not going to try to winnow it down any at this
>   stage.  The Makefiles change to match, and the inclusions are >   removed from config.h and hconfig.h.
> 
> What about tconfig.h?  If a file includes tconfig.h, and then it also
> includes coretypes.h, won't we have trouble?

I wasn't clear enough.  If a file includes tconfig.h and tsystem.h, it
won't include coretypes.h.  (I would _like_ to have it not include tm.h either, but that is currently infeasible.  Another day, perhaps...)

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]