fam
[Top] [All Lists]

Re: [fam] GCC-3.1 compilation problems...

To: fam@xxxxxxxxxxx
Subject: Re: [fam] GCC-3.1 compilation problems...
From: Sean McGlynn <sean@xxxxxxxxx>
Date: Wed, 11 Sep 2002 00:37:47 +0100
Sender: fam-bounce@xxxxxxxxxxx
Hello :-)

Waaaay back in May, someone reported a problem compiling FAM, getting this 
error:

Scheduler.c++:37: uninitialized const member `Scheduler::IOTypeInfo::iotype'
Scheduler.c++:38: uninitialized const member `Scheduler::IOTypeInfo::iotype'

See http://oss.sgi.com/projects/fam/archive/msg00452.html for reference.

I (and at least a few others) got the same problem with GCC 3.2.
The workaround was simply to remove the const qualifier in question. It turns 
out that Gentoo also use this "fix", which is why the original poster wrote 
back later saying that, after upgrading his (Gentoo) system, FAM suddenly 
compiled okay!

Anyway, I've no idea whether the real problem lies with the code or with GCC 
3.x, but I just thought I'd mention the workaround in case anyone else has 
problems.

Cheers,
Sean

P.S. - I'm not subscribed to the list, so please cc: me on any replies
-- 
Sean McGlynn
sean@xxxxxxxxx

Seriously bored? So were these people!
http://crystal.sourceforge.net/docs/online/manual/

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [fam] GCC-3.1 compilation problems..., Sean McGlynn <=