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]

Re: MI guards for generated header files


On Sat, Mar 31, 2001 at 08:26:58AM -0800, Zack Weinberg wrote:
> This patch adds MI guards to genrtl.h, insn-attr.h, insn-codes.h,
> insn-config.h, and insn-flags.h.  I also took the opportunity to make
> the error check at exit of the affected generators a bit more robust.

For what it's worth, I thought that the preferred format for the
MI guards was

	#ifndef GCC_FILENAME_H
	#define GCC_FILENAME_H
	...
	#endif /* GCC_FILENAME_H */

so as not to pollute the reserved namespace.  See
http://gcc.gnu.org/ml/gcc-patches/2001-02/msg01353.html .

Matt

PGP signature


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