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

List:       kde-devel
Subject:    Re: egcs (qwmf)
From:       Johannes Sixt <Johannes.Sixt () telecom ! at>
Date:       1998-03-29 16:47:44
[Download RAW message or body]

On Sat, 28 Mar 1998, Kalle Dalheimer wrote:
>Reginald Stadlbauer wrote:
>> Am Fri, 27 Mar 1998 schrieb Kalle Dalheimer:
>> >Reginald Stadlbauer wrote:
>> >> Hi!
>> >> I have installed egcs1.0.2 on my Alpha/Linux. But I was unable to compile KDE
>> >> with egcs. Is there somebody out there, who was able to compile KDE with egcs,
>> >> or is it impossible?
>> >
>> >I do so all the time. I had to make some patches to kpresenter today
>> >to compile that as well, but apart from that, there should be no
>> >problem.
>> 
>> What did you have to do with kpresenter?
>
>- remove all #include <stdinc.h>
>- add a & to all functions in the table in metafuncs.h
>- There is still one place in qwmf.cpp where I have not found the
>  correct new syntax; I have commented that out in my private copy.

I guess that the following patch will fix the problem (Stefan T., are you
reading this?):

--- qwmf.cpp.orig       Sat Mar  7 19:57:00 1998
+++ qwmf.cpp    Sat Mar 28 18:58:39 1998
@@ -350,7 +350,7 @@
     }
     if (metaFuncTab[idx].method!=0)
     {
-      (metaFuncTab[idx].method)(cmd->numParm, cmd->parm);
+      (this->*metaFuncTab[idx].method)(cmd->numParm, cmd->parm);
       if (mSingleStep) qApp->processEvents(1000);
     }
   }

-- Hannes

>- perhaps some more changes that I do not remember
>
>Kalle
>
>-- 
>Kalle Dalheimer                 Contract programming for Unix
>kalle@dalheimer.hh.eunet.de     Technical writing
>kalle@kde.org                   Technical editing
>kalle@oreilly.de                KDE Developer (MFCH)
>mdalheimer@acm.org              Don't let your friends boot NT!

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

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