No Subject

Jeffrey A Law law@cygnus.com
Sun Sep 28 23:28:00 GMT 1997


------- Forwarded Message


Date: Sun, 28 Sep 1997 20:12:37 +0200 (MET DST)
From: Bernhard Rosenkraenzer <bero@in-trier.de>
To: egcs-bugs@cygnus.com
cc: beastium-list@desk.nl
Subject: 970924 g++ problems
Message-ID: <Pine.LNX.3.96.970928195811.2594A-100000@ufp.in-trier.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi,
there's a problem with the g++ compiler in egcs/pgcc 970924. When trying
to compile the KDE libraries
( ftp://ftp.kde.org/pub/kde/unstable/distribution/tgz/current/kdelibs-970928.tar
.gz)
on an i586 running Linux 2.x with egcs, the following error message is
generated:

kprocess.cpp: In method `bool KProcess::normalExit()':
kprocess.cpp:201: member `status' is a private member of class `KProcess'
kprocess.cpp: In method `int KProcess::exitStatus()':
kprocess.cpp:208: member `status' is a private member of class `KProcess'
make[3]: *** [kprocess.lo] Error 1
make[3]: Leaving directory `/UW-SCSI/kdelibs/kdecore'


Trying to fall back to gcc 2.7.2.3 with -V2.7.2.3 creates, due to the
changed g++ include files from egcs:

In file included from kurl.cpp:10:
/usr/lib/g++-include/iostream.h:91: parse error before `__extension__'
/usr/lib/g++-include/iostream.h:208: parse error before `__extension__'


One "fix" is to copy the iostream.h from libg++ 2.7.2.8 to
/usr/lib/g++-include, but I really doubt that's a good one... (I'm not
very familiar with c++, just with c)

Any other suggestions?

LLaP
bero




More information about the Gcc-bugs mailing list