fam
[Top] [All Lists]

Re: Can't compile fam-2.6.9 with gcc-3.2

To: "root of all evil" <rose@xxxxxxxxxxxxxxxxx>
Subject: Re: Can't compile fam-2.6.9 with gcc-3.2
From: "Michael WARDLE" <michael.wardle@xxxxxxxxxx>
Date: Mon, 2 Sep 2002 09:28:23 +1000
Cc: "FAM OSS Mailing List" <fam@xxxxxxxxxxx>
References: <1030890195.27369.8.camel@mousehomenet>
Sender: fam-bounce@xxxxxxxxxxx
> trying to compile fam-2.6.9 with gcc-3.2 I get:
> 
> c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include
> -DCONFIG_ETC_CONFIG_PATH=\"/usr/local/etc/fam.conf\"    -g -O2 -c
> Scheduler.c++
> cc1plus: warning: changing search order for system directory "."
> cc1plus: warning:   as it has already been specified as a non-system
> directory
> Scheduler.c++:37: uninitialized const member
> `Scheduler::IOTypeInfo::iotype'
> Scheduler.c++:38: uninitialized const member
> `Scheduler::IOTypeInfo::iotype'
> make[2]: *** [Scheduler.o] Error 1

This issue was first reported here:
<http://oss.sgi.com/projects/fam/archive/msg00452.html>

IIRC the work around for this problem is to remove the
"const" modifier from Scheduler.c++ and remake.  I guess
you'd need to remove it from Scheduler.h as well.

The little I know of this problem suggests this is a flaw
in GCC.  If somebody can convince me it's a FAM issue, then
I will consider making appropriate changes (provided it
doesn't break IRIX), otherwise it would be nice if somebody
who knew more about this filed a bug against GCC.

Thanks

-- 
MICHAEL WARDLE
SGI Desktop and Sysadmin Software
Adacel Technologies Limited



<Prev in Thread] Current Thread [Next in Thread>