[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
- To: Thorsten Glaser <tg@xxxxxxxxx>
- Subject: Re: [issues] glibc uses '__unused' as identifier, which is traditionally used by BSD as macro
- From: "Joseph S. Myers" <joseph@xxxxxxxxxxxxxxxx>
- Date: Wed, 6 May 2009 20:26:13 +0000 (UTC)
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