RFC/RFA: basic-improvements: split config.h and tm.h
Mark Mitchell
mark@codesourcery.com
Tue Nov 12 11:21:00 GMT 2002
--On Tuesday, November 12, 2002 10:43:30 AM -0800 Zack Weinberg
<zack@codesourcery.com> wrote:
> 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...)
All right.
I am comfortable pre-approving this work. If nobody objects over the
next few days, go ahead.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc
mailing list