This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib: s/ALIGN/_ALIGN
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: cpplib: s/ALIGN/_ALIGN
- From: "Zack Weinberg" <zackw at stanford dot edu>
- Date: Sat, 3 Feb 2001 10:08:07 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20010203174848.C6712@daikokuya.demon.co.uk>
On Sat, Feb 03, 2001 at 05:48:49PM +0000, Neil Booth wrote:
> OpenBSD and I believe FreeBSD define a macro ALIGN in param.h.
> Unfortunately, it was also a macro used by cpplib.
>
> * cpphash.h: Rename ALIGN _ALIGN.
> * cpplex.c (new_chunk): Update.
_ALIGN is in the reserved namespace, so even more likely to cause
trouble.
Suggest POOL_ALIGN instead, or #undef ALIGN in system.h (but that may
cause other problems).
zw