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 1/2] Define PTR_MANGLE and PTR_DEMANGLE unconditionally.


On 11/05/2013 04:38 AM, OndÅej BÃlka wrote:
> 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?
> 

That sounds good to me. Feel free to create such a header first, and then
move only PTR_* into it, and then we can follow up other patches as we
touch things to move them there?

Cheers,
Carlos.


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