Bug 60909

Summary: gcc 2.96-105 fails to compile Qt C bindings
Product: [Retired] Red Hat Raw Hide Reporter: Bernhard Rosenkraenzer <bero>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-02 19:38:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
bzip2'ed preprocessor output none

Description Bernhard Rosenkraenzer 2002-03-08 21:41:51 UTC
c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./.. -I/usr/include/kde
-I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT
-D_REENTRANT -O2 -fno-exceptions -fno-check-new
-Wp,-MD,.deps/qt_QStringList.pp -c qt_QStringList.cpp  -fPIC -DPIC -o
.libs/qt_QStringList.o
qt_QStringList.cpp:25: `QValueListIterator<QString> iterator'
redeclared as different kind of symbol
[qt_QStringList.cpp:25 is static QStringList::Iterator    iterator;]
qt_QStringList.cpp:25: sorry, not implemented: `integer_type' not
supported by dump_expr
qt_QStringList.cpp:25: sorry, not implemented: `pointer_type' not
supported by dump_expr
qt_QStringList.cpp:25: sorry, not implemented: `reference_type' not
supported by dump_expr
/usr/include/g++-3/stl_iterator.h:90: previous declaration of `template
<class _Category, class _Tp, class _Distance = {expression error},
class _Pointer = {expression error}, class _Reference = {expression
error} struct iterator'

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

How Reproducible:
100%

Steps to Reproduce:
1. Try to build kdebindings

Additional Information:
Works with 3.1

Comment 1 Bernhard Rosenkraenzer 2002-03-08 21:42:48 UTC
Created attachment 47941 [details]
bzip2'ed preprocessor output

Comment 2 Richard Henderson 2004-10-02 19:38:22 UTC
If it works with 3.1, then fine.  The .ii file present here doesn't
build with 3.2 or later, which just looks like actual c++ conformance
problems with the original.