[mythtv-commits] Ticket #1417: build error: /usr/include/X11/X.h and /usr/include/qt3/qdir.h both use "Unsorted"
MythTV
mythtv at cvs.mythtv.org
Tue Feb 28 13:47:59 UTC 2006
#1417: build error: /usr/include/X11/X.h and /usr/include/qt3/qdir.h both use
"Unsorted"
-------------------------------------+--------------------------------------
Reporter: Robert Tsai <rtsai1111> | Owner: ijr
Type: defect | Status: new
Priority: major | Milestone:
Component: mythtv | Version: head
Severity: medium |
-------------------------------------+--------------------------------------
/usr/include/X11/X.h has #define Unsorted 0
/usr/include/qt3/qdir.h does enum ... Unsorted = 0x03
These collide in mythfrontend/globalsettings.cpp when USING_XV was turned
on in [9201] (X.h gets pulled in via util-x11.h). Other files include this
same pair of header files, but they don't have a USING_XV in their qmake
project file.
My linux distribution is Ubuntu Breezy (libx11-dev 6.2.1+cvs.20050722-8;
libqt3-headers 3.3.4-8ubuntu5).
For now, I just re-ordered the #include's in globalsettings.cpp, but there
should probably be some kind of more permanent fix ...
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/1417>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list