This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: MI guards for generated header files
- To: Zack Weinberg <zackw at stanford dot edu>
- Subject: Re: MI guards for generated header files
- From: Matt Kraai <kraai at alumni dot carnegiemellon dot edu>
- Date: Sat, 31 Mar 2001 11:08:44 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20010331082658.D19488@stanford.edu>
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