On Tue, 3 Sep 2002, Beech Rintoul wrote:

> Date: Tue, 3 Sep 2002 23:53:05 -0800
> From: Beech Rintoul <[EMAIL PROTECTED]>
> To: Michael WARDLE <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: KDE broken on CURRENT (with gcc3.2)
>
> On Tuesday 03 September 2002 09:28 pm, Michael WARDLE wrote:
> > > I have the exact same problem (even with fam-2.6.9).
> > > Can you post that patch?
> >
> > There was an error with FAM and GCC 3.1 discussed here:
> > <http://oss.sgi.com/projects/fam/archive/msg00452.html>
> >
> > If this is the problem you are seeing, try removing the
> > "const" modifier from Scheduler.h in the FAM sources.
removing the const modifier fixes the compilation error
of fam with -current's gcc for me.

The diff is:
--- Scheduler.h.orig    Thu Sep  5 00:20:53 2002
+++ Scheduler.h Thu Sep  5 00:21:34 2002
@@ -105,7 +105,7 @@
     //  for the corresponding I/O type.

     struct IOTypeInfo {
-       FDInfo::FDIOHandler FDInfo::*const iotype;
+       FDInfo::FDIOHandler FDInfo::* iotype;
        unsigned int nbitsset;          // number of bits set in fds
        fd_set fds;
        IOTypeInfo(FDInfo::FDIOHandler FDInfo::* a_iotype) :


Bye!
----
Michael Reifenberger
^.*Plaut.*$, IT, R/3 Basis, GPS


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to