PATCH (libstdc++-v3): obscure portability issue

Joe Buck Joe.Buck@synopsys.COM
Thu Jan 20 06:33:00 GMT 2005


On Wed, Jan 19, 2005 at 03:57:32PM -0600, Loren James Rittle wrote:
> This strange macro exists on various versions of FreeBSD (and perhaps
> other strains of BSD):
> 
> /usr/include/sys/cdefs.h:#define __used         __attribute__((__used__))

You should add this to the BADNAMES file (the list of names that should
be avoided due to conflicts of this type).  It is in

libstdc++-v3/docs/html/17_intro/BADNAMES

You might also want to look to see if any other names should be added
there because BSD uses them.



More information about the Gcc-patches mailing list