[lsb-bugs] [Bug 2646] X11 header problem
bugzilla-daemon at linux-foundation.org
bugzilla-daemon at linux-foundation.org
Tue May 12 00:02:55 PDT 2009
http://bugs.linuxbase.org/show_bug.cgi?id=2646
Vahram Martirosyan <vmartirosyan at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vmartirosyan at gmail.com
--- Comment #2 from Vahram Martirosyan <vmartirosyan at gmail.com> 2009-05-12 00:02:55 ---
(In reply to comment #1)
> Hmm, could you please give an example of the code that leads to such
> redefinition problem?
>
> In general, all LSB headers have 'protection' constants to prevent multiple
> inclusions, and redefinitions usually arise when LSB headers are mixed with the
> system ones.
>
This is not the case. In the X11/extensions/syncstr.h there are some defined
objects (in fact they are types): XSyncAlarm and XSyncCounter, which are
originally defined in X11/Xmd.h. But that file is also included in syncstr.h.
And this leads to a type redefinition problem in sync.h, because there are some
typedefs there (on lines 14 and 16).
--
Configure bugmail: http://bugs.linuxbase.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the lsb-bugs
mailing list