This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/2] Define PTR_MANGLE and PTR_DEMANGLE unconditionally.
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Carlos O'Donell <carlos at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 5 Nov 2013 10:38:31 +0100
- Subject: Re: [PATCH 1/2] Define PTR_MANGLE and PTR_DEMANGLE unconditionally.
- Authentication-results: sourceware.org; auth=none
- References: <20131031194113 dot GA30302 at domone dot podge> <5272B2DA dot 8090807 at redhat dot com>
On Thu, Oct 31, 2013 at 03:43:22PM -0400, Carlos O'Donell wrote:
> On 10/31/2013 03:41 PM, OndÅej BÃlka wrote:
> > +#ifndef PTR_MANGLE
> > +# define PTR_MANGLE(x)
> > +#endif
> > +
> > +#ifndef PTR_DEMANGLE
> > +# define PTR_DEMANGLE(x)
> > +#endif
>
> This should happen once and then get used everywhere else.
>
Definitions of PTR_DEMANGLE are scattered in various sysdep.h files.
Moving these would involve creating a new header. A posibility would be
a defaults header where we would move various compatibility definitions.
Comments?