Ping Re: Fix more namespace issues in sys/ucontext.h (bug 21457)

Florian Weimer fweimer@redhat.com
Tue May 23 06:30:00 GMT 2017


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



More information about the Libc-alpha mailing list