This is the mail archive of the
mailing list for the GCC project.
Re: Built-in attribute table and host header files polluting it
On Fri, May 24, 2002 at 11:44:18AM +0100, Joseph S. Myers wrote:
> I suggest a fixinclude to change it to a function-like macro rather than
> an object-like one. (Though a weak symbol would be the ultimately correct
Yah, I'll change the NetBSD <stdio.h> to do this as a quick work-around,
and do the weak symbol change later..
The problem with a fixinclude is that the problem occurs when building
GCC with the native system compiler. In this case, that happens to be
an older version of GCC (2.95.3), but this problem certainly could pop
up on other host systems.
> It might be possible to rearrange the macro definitions in
> builtin-attrs.def so that concatenation applies to the unexpanded form.
Yah, I'll see if I can shuffle stuff around a little to work around this.
-- Jason R. Thorpe <firstname.lastname@example.org>