Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2002 00:25:04 +0200 (CEST)
From:      Michael Reifenberger <root@nihil.plaut.de>
To:        Beech Rintoul <akbeech@anchoragerescue.org>
Cc:        Michael WARDLE <michael.wardle@adacel.com>, FreeBSD-Current <current@FreeBSD.ORG>
Subject:   Re: KDE broken on CURRENT (with gcc3.2)
Message-ID:  <20020905001807.A610-100000@nihil>
In-Reply-To: <200209032353.05727.akbeech@anchoragerescue.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 3 Sep 2002, Beech Rintoul wrote:

> Date: Tue, 3 Sep 2002 23:53:05 -0800
> From: Beech Rintoul <akbeech@anchoragerescue.org>
> To: Michael WARDLE <michael.wardle@adacel.com>
> Cc: current@FreeBSD.ORG
> 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020905001807.A610-100000>