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: Ping Re: Fix more namespace issues in sys/ucontext.h (bug 21457)


On 05/23/2017 12:54 AM, Zack Weinberg wrote:
> So I'm OK with __ versions of NGREG, NFPREG, etc, but is it really
> necessary to mangle structure field names?  Is it just to defend
> against user definitions of those identifiers as preprocessor macros,

I think this is sufficient reason to do it, unfortunately.

> or is there a more likely-to-happen-in-real-code reason, given the
> general tendency to avoid object-like macros nowadays?

I don't think that tendency exists.  Maybe for some projects, but not
for glibc's upstreams (standards).

Thanks,
Florian


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