This is the mail archive of the gcc-patches@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 - Next refactoring steps


On Thu, 5 Sep 2013, Andrew MacLeod wrote:

> Or are you suggesting that coretypes.h is a file we can assume is available?

Every .c file should start with includes of config.h, system.h and 
coretypes.h, in that order, so all other headers can assume they have been 
included.

(In principle I think coretypes.h should be split up so that files 
included in the driver don't see at all, even through minimal coretypes.h 
declarations, types such as "tree" that don't make sense in the driver.  
But that probably requires splitting up various other headers, and I don't 
think it's a priority.)

-- 
Joseph S. Myers
joseph@codesourcery.com


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