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]

Re: Projects for beginners


There are two things in here that I'm not sure are such good ideas:

  Add multiple include guards to all header files.

I think this encourages sloppy use of header files.  I'd much prefer to
have some standard ordering of header files that we adopt.

  Get as much out of the x-host and xm-host.h files into
  autoconf tests, system.h, etc., as possible.
	- I would give even odds that it can all go.

This is tricky.  Remember that they are also used for building the library
and in the cross-compiler case you can't get them from autoconf.

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