[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    gcc-2.95 vs. KDE_1_1_BRANCH
From:       Franz Sirl <Franz.Sirl-kernel () lauterbach ! com>
Date:       1999-07-15 12:55:41
[Download RAW message or body]

Hi,

below are the remaining problems compiling KDE_1_1_BRANCH (from 
openprojects as of yesterday) with gcc-2.95 (to be released in the next 
days). kmix really should be fixed, the others are "soft" errors that can 
be worked around by compiling with -fpermissive (I think they should be 
fixed as well). I would appreciate if someone could fix kdegames in CVS, so 
I can test that too.

I'm currently not subscribed to the list, so please CC: me.

Franz.



Environment:
Linux/PPC 2.2.10
glibc-2.1.2
binutils-2.9.4.0.8
gcc-2.95 (19990713 cvs checkout)
qt-1.44

---
kdelibs: OK

---
kdeutils: OK

---
kdegraphics: OK

---
kdeadmin: OK

---
kdebase: OK, 1 glibc-2.1 fix needed (cuserid() only defined for 
_GNU_SOURCE, patch sent to Matthias)

---
kdegames:
make -f Makefile.cvs fails with:
*** Building Makefile templates (step one)
po/Makefile.am:2: required directory po/sl does not exist
make[1]: *** [cvs] Error 1
make: *** [all] Error 2

---
kdenetwork:
1.
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include/qt
-I/usr/X11R6/include -I. -I. -I..    -O2 -fsigned-char -DNO_DEBUG -c status.cpp
status.cpp: In method KBiffStatus::KBiffStatus(const QString &, const
KBiffStatusList &)':
status.cpp:42: initialization to KBiffStatusList *' from const
KBiffStatusList *' discards qualifiers
make[3]: *** [status.o] Error 1
make[3]: Leaving directory /home/fsirl/kdenetwork/BUILD/kdenetwork/kbiff'

this one is solveable with -fpermissive.

2.
krn/aboutDlg.cpp triggers a bug in gcc-2.95 (parser regression)
no KDE issue

3.
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include -I/usr/include/qt
-I/usr/X11R6/include -DHAVE_KDE   -O2 -fsigned-char -DNO_DEBUG -c find_user.cpp
find_user.cpp: In function int find_X_process(char *, char *)':
find_user.cpp:159: converting int (*)(dirent *)' to int (*)(const dirent *)'
is a contravariance violation
make[4]: *** [find_user.o] Error 1
make[4]: Leaving directory
/home/fsirl/kdenetwork/BUILD/kdenetwork/ktalkd/ktalkd'

solveable with -fpermissive

---
kdemultimedia:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include/qt
-I/usr/X11R6/include    -O2 -fsigned-char -DNO_DEBUG -c kmix.cpp
kmix.cpp: In method void KMix::createWidgets()':
kmix.cpp:312: no matches converting function contextMenu' to type class
QPopupMenu * (*)(QObject *, QObject *)'
kmix.h:83: candidates are: class QPopupMenu * KMix::contextMenu(QObject *,
QObject *)
kmix.cpp:321: no matches converting function contextMenu' to type class
QPopupMenu * (*)(QObject *, QObject *)'
kmix.h:83: candidates are: class QPopupMenu * KMix::contextMenu(QObject *,
QObject *)
kmix.cpp:333: no matches converting function contextMenu' to type class
QPopupMenu * (*)(QObject *, QObject *)'
kmix.h:83: candidates are: class QPopupMenu * KMix::contextMenu(QObject *,
QObject *)
kmix.cpp:344: no matches converting function contextMenu' to type class
QPopupMenu * (*)(QObject *, QObject *)'
kmix.h:83: candidates are: class QPopupMenu * KMix::contextMenu(QObject *,
QObject *)
make[3]: *** [kmix.o] Error 1

---
kdetoys:
make[2]: Entering directory /home/fsirl/kdetoys/BUILD/kdetoys/mouse'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include/qt
-I/usr/X11R6/include    -O2 -fsigned-char -c kodo.cpp
In file included from kodo.h:11,
                  from kodo.cpp:112:
gridbag.h:93: ANSI C++ forbids initialization of member RELATIVE'
gridbag.h:93: making RELATIVE' static
gridbag.h:94: ANSI C++ forbids initialization of member REMAINDER'
gridbag.h:94: making REMAINDER' static
gridbag.h:96: ANSI C++ forbids initialization of member NONE'
gridbag.h:96: making NONE' static
gridbag.h:97: ANSI C++ forbids initialization of member BOTH'
gridbag.h:97: making BOTH' static
gridbag.h:98: ANSI C++ forbids initialization of member HORIZONTAL'
gridbag.h:98: making HORIZONTAL' static
gridbag.h:99: ANSI C++ forbids initialization of member VERTICAL'
gridbag.h:99: making VERTICAL' static
gridbag.h:101: ANSI C++ forbids initialization of member CENTER'
gridbag.h:101: making CENTER' static
gridbag.h:102: ANSI C++ forbids initialization of member NORTH'
gridbag.h:102: making NORTH' static
gridbag.h:103: ANSI C++ forbids initialization of member NORTHEAST'
gridbag.h:103: making NORTHEAST' static
gridbag.h:104: ANSI C++ forbids initialization of member EAST'
gridbag.h:104: making EAST' static
gridbag.h:105: ANSI C++ forbids initialization of member SOUTHEAST'
gridbag.h:105: making SOUTHEAST' static
gridbag.h:106: ANSI C++ forbids initialization of member SOUTH'
gridbag.h:106: making SOUTH' static
gridbag.h:107: ANSI C++ forbids initialization of member SOUTHWEST'
gridbag.h:107: making SOUTHWEST' static
gridbag.h:108: ANSI C++ forbids initialization of member WEST'
gridbag.h:108: making WEST' static
gridbag.h:109: ANSI C++ forbids initialization of member NORTHWEST'
gridbag.h:109: making NORTHWEST' static
gridbag.h:241: ANSI C++ forbids initialization of member MAXGRIDSIZE'
gridbag.h:241: making MAXGRIDSIZE' static
gridbag.h:242: ANSI C++ forbids initialization of member MINSIZE'
gridbag.h:242: making MINSIZE' static
gridbag.h:243: ANSI C++ forbids initialization of member PREFERREDSIZE'
gridbag.h:243: making PREFERREDSIZE' static
In file included from kodo.cpp:112:
kodo.h:108: ANSI C++ forbids initialization of member speedInterval'
kodo.h:108: making speedInterval' static
kodo.h:109: ANSI C++ forbids initialization of member distanceInterval'
kodo.h:109: making distanceInterval' static
kodo.h:110: ANSI C++ forbids initialization of member speedSamples'
kodo.h:110: making speedSamples' static
make[2]: *** [kodo.o] Error 1

solveable with -fpermissive

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic