Built-in attribute table and host header files polluting it
Jason R Thorpe
thorpej@wasabisystems.com
Fri May 24 09:42:00 GMT 2002
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
> fix.)
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 <thorpej@wasabisystems.com>
More information about the Gcc-bugs
mailing list