This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


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