[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [issues] glibc uses '__unused' as identifier, which is traditionally used by BSD as macro



On Wed, 6 May 2009, Thorsten Glaser wrote:

> As this has only *VERY* recently become an issue, I think both

__unused has been used in glibc headers going back at least to 2.3, though 
maybe not in the particular headers affecting you.

> Linux and glibc could afford to refrain from using "__unused"
> for compatibility / historic reasons. I don't see any cost as-
> sociated with it, only benefit.

There is cost associated with divergence between FSF glibc and EGLIBC that 
comes into play every merge, and I think it outweighs the benefit in this 
case.  If glibc were being designed from scratch or there were no upstream 
to deal with, then yes using __glibc_ in all internal identifiers would 
make sense, but that is not the situation here.

-- 
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx