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: cpplib: s/ALIGN/_ALIGN


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

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