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

List:       kde-devel
Subject:    Re: gcc-2.95 vs. KDE_1_1_BRANCH
From:       Harri Porten <porten () tu-harburg ! de>
Date:       1999-07-15 19:32:48
[Download RAW message or body]

Franz Sirl wrote:
> 
> 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).

I had checked some of the packages before. That's why I was surprised
that you encountered so many errors. My egcs snapshot was about a month
old so I had to upgrade to reproduce the problems. Did you try
kdesupport ? The situation is really bad there. *Lots* of warnings (and
errors which I believe to have fixed today). However the 19990712
behaves somehow strangely. Declarations like fdopen() and gethostname()
seem to be missing although the relevant headers are included. Known
problem ?

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

In case your cvs update isn't complete or the dir is really missing
simply take `po' out of kdegame's Makfile.

> ---
> 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

This fix I found required *removing* one const so I'll mail it to Kurt
first.

> 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

Fixed.

> ---
> 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 *)

I've mailed this to Christian Esken. I'm not sure what place needs to be
fixed.

> ---
> 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

I wonder how this compiled before. I've fixed this and some `const'
errors on my disc but I can't get kodo to work (broken pixmaps?) so I
won't commit my patches yet. Can anyone confirm that the program works
*now* ?

Harri.

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

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