Compiling qt-3.3.8[b[-r1]] against xproto-9999 w. gcc-4.3 stops with this error: make[1]: Entering directory `/mnt/data/portage-tmp/portage/x11-libs/qt-3.3.8b-r1/work/qt-x11-free-3.3.8b/src' i686-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -O2 -march=pentium-m -mtune=pentium-m -fno-strict-aliasing -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_NIS -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/mnt/data/portage-tmp/portage/x11-libs/qt-3.3.8b-r1/work/qt-x11-free-3.3.8b/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qtaddons_x11.o kernel/qtaddons_x11.cpp In file included from /usr/include/X11/extensions/Xge.h:33, from /usr/include/X11/extensions/XInput.h:54, from kernel/qt_x11_p.h:90, from kernel/qtaddons_x11.cpp:25: /usr/include/X11/Xmd.h:137: error: conflicting declaration 'typedef long int INT32' ../include/qglobal.h:709: error: 'INT32' has a previous declaration as 'typedef int INT32' make[1]: *** [.obj/release-shared-mt/qtaddons_x11.o] Error 1 make[1]: Leaving directory `/mnt/data/portage-tmp/portage/x11-libs/qt-3.3.8b-r1/work/qt-x11-free-3.3.8b/src' make: *** [sub-src] Error 2 Fixed by simply adding the definitions from the Xmd.h header to include/qglobal.h. Run-tested on x86, x86_64, mips and sh. Setting severity to minor since this does not happen when the default stable xproto headers are used. Reproducible: Always
Created attachment 178045 [details, diff] qt-3.3.8 / xproto-9999 compile fix proposed fix. Successfully run-tested on x86, x86_64, mips and sh.
Created attachment 180818 [details, diff] qt-3.3.8 / xproto-9999 fix I couldn't make sense of your patch when I read it so I followed your example and made my own. I think this patch better shows what's being changed.
Created attachment 180820 [details] ebuild incorporating previously posted patch
(In reply to comment #2) > Created an attachment (id=180818) [edit] > qt-3.3.8 / xproto-9999 fix > > I couldn't make sense of your patch when I read it so I followed your example > and made my own. I think this patch better shows what's being changed. Now that you mention it, your patch looks like what mine was supposed to. Thanks!
We don't support X development versions.