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] Remove PRI_MACROS_BROKEN define usage


On 20-03-2014 15:35, Joseph S. Myers wrote:
> On Thu, 20 Mar 2014, Adhemerval Zanella wrote:
>
>> 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
>>
>> 	* intl/loadmsgcat.c (PRI_MACROS_BROKEN): Remove unused conditional.
> I think this file comes from GNU gettext (though we're long out of sync 
> with gettext's copy of libintl - still, coordinating with gettext on how 
> to avoid -Wundef warnings might be a good idea, as we'd like to end up 
> with identical sources for shared files).  Defining PRI_MACROS_BROKEN to 0 
> if _LIBC would be a conservative approach to keeping down divergence, if 
> PRI_MACROS_BROKEN is still considered relevant in the gettext context.
>
> http://git.savannah.gnu.org/cgit/gettext.git/tree/gettext-runtime/intl/loadmsgcat.c
>
Do we still want to keep code that no longer makes sense in our context? GLIBC does
not even have configure check for PRI_MACROS_BROKEN, so should we keep aiming
a possible sync? I personally aim for simplicity and maintainability in this
case, which means get rid of legacy code that does not make sense for GLIBC. 


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