Bug 436703 - conflicting declaration 'typedef long int INT32' with qt-3.3.8
conflicting declaration 'typedef long int INT32' with qt-3.3.8
Product: Fedora
Classification: Fedora
Component: xorg-x11-proto-devel (Show other bugs)
All Linux
high Severity high
: ---
: ---
Assigned To: Adam Jackson
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-03-09 13:46 EDT by Ngo Than
Modified: 2008-04-01 15:58 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-04-01 15:58:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ngo Than 2008-03-09 13:46:22 EDT
Description of problem:
the new version of xorg-x11-proto-devel causes conflicting declaration with 

Version-Release number of selected component (if applicable):

How reproducible:
rebuilt qt-3.3.8b in rawhide against new xorg-x11-proto-devel-7.3-8.fc9. The 
rebuild will break with following errors:

g++ -c -pipe -fno-exceptions -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -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_POCKETPC -I/home/than/rpm/BUILD/qt-x11-free-3.3.8b/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qpaintdevice_x11.o 
In file included from /usr/include/X11/extensions/XI.h:56,
                 from /usr/include/X11/extensions/XInput.h:57,
                 from kernel/qt_x11_p.h:91,
                 from kernel/qpaintdevice_x11.cpp:48:
/usr/include/X11/Xmd.h:137: error: conflicting declaration 'typedef long int 
../include/qglobal.h:709: error: 'INT32' has a previous declaration 
as 'typedef int INT32'

Actual results:
rebuild breaks with errors

Expected results:
rebuild should work

Additional info:
it works with previous version xorg-x11-proto-devel-7.3-7.fc9. I have taken a 
look in XI.h in new version

-#include <X11/X.h> /* CARD32 */
+#include <X11/Xmd.h> /* CARD32 */

this change causes the conflicting declaration 'typedef long int INT32'

rebuild of qt works again i revert this change.
Comment 1 Adam Jackson 2008-04-01 15:58:24 EDT
Fixed in xorg-x11-proto-devel 7.3-11

Note You need to log in before you can comment on or make changes to this bug.