This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] PowerPC: Define __PTHREAD_MUTEX_HAVE_ELISION to 0


On 25-03-2014 14:09, Roland McGrath wrote:
>> On 25-03-2014 13:55, Roland McGrath wrote:
>>>> I would prefer this approach instead of create/install another header.
>>> Why?  It leaves a place for typo bugs to sneak in on new architectures.
>>>
>> I see a plus header another burden for arch ports to be aware of. GLIBC
>> is already quite complex of required arch depends files and subly
>> non-arch files that arch maintainer also need to be aware one. I
>> personally not found of add another one.
> I fail to see how a subtle and typo-prone requirement on some other
> existing arch-specific header is better than a typo-proof clear requirement
> on a new arch-specific header.
>
It is a trade-off in my view, but I understand the direction of the -Wundef work
for the typo-proof. I will check on the elision-especific header.


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