[Lsb-infrastructure] More X11 build problems: Xt header protection macros

Denis Silakov silakov at ispras.ru
Tue Sep 2 05:33:48 PDT 2008


Wichmann, Mats D wrote:
> During the build of xts5, there are failures due to both
> the LSB and native headers of the same name being included.
> This is because while LSB uses a standard macro derived
> from the header name in all cases, in the case of some
> Xt headers, xorg upstream uses something different.  Thus,
> we have in IntrinsicP.h:
>
> #ifndef _X11_INTRINSICP_H_
> #define _X11_INTRINSICP_H_
>
>
> while the upstream headers start with:
>
> #ifndef _XtintrinsicP_h
> #define _XtintrinsicP_h
>
>
> We've met this before in the curses header, it should be
> possible to just define the protection macro the upstream
> header wants.
>   

Yes, this could be useful. Necessary macros for headers provided with 
SDK will be included by the recent patch to bug 706.

-- 
Regards,
Denis.



More information about the lsb-infrastructure mailing list