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 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


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