[Lsb-infrastructure] grrr, Xt "proection" madness

Wichmann, Mats D mats.d.wichmann at intel.com
Wed Sep 10 06:47:20 PDT 2008


Denis Silakov wrote:
> Wichmann, Mats D wrote:
>> Seems that two of the Xt headers don't use
>>
>> #ifndef _XtFoo_h
>>
>> but instead
>>
>> #ifndef _Xt_Foo_h
>>
>> Those two are ObjectP.h, which we have in LSB,
>> and RectObjP.h, which we don't.
>>
>> Nothing like consistency, eh?
>
> Yes, in case of X11 we have to check protection constants individually
> for every header...
>
> There are some more 'consistency' examples, e.g. _XtIntrinsic_h for
> Intrinsic.h (capital 'I') vs _XtintrinsicI_h for IntrinsicI.h
> (lowercase 'i').

Shall I hunt for these?  The changes should be easy to code up.



More information about the lsb-infrastructure mailing list