Le lun, 10 avr 2000, vous avez écrit :
> Hi,
>
> the following two patches to Scheduler.h and Scheduler.c++ should prevent the
>
> Scheduler.h:97: ANSI C++ forbids data member `handler' with same name as
> enclosing class
>
> error when using gcc-2.95.2. I have changed handler to xxx_handler (I am sure
> that there will be a more sensible prefix than xxx_) and now everything works
> fine for me.
>
> I have also made a couple of changes to other files so that fam-oss-2.6.2 will
> compile on IRIX5.3 with gcc-2.95.2 (most of them are missing include files and
> missing functions in IRIX5.3), shall I also send them to this list?
>
> Sumit
>
Thank you, this patch seems to correct the problem, alas some others appears:
I don't have bstring.h (you added it in the patch) on my system, where does it
come from?
and I'm now getting strange compilation errors, but it's probably due to the
missing header. In case it's not:
Listener.c++: In function `static void Listener::accept_client(int, void *)':
Listener.c++:157: passing `int *' as argument 3 of `accept(int, sockaddr *,
socklen_t *)' changes signedness
Listener.c++: In function `static void Listener::create_local_client(TCP_Client
&, unsigned int)':
Listener.c++:238: warning: negative value `-1' passed as argument 3 of
`chown(const char *, unsigned int, unsigned int)'
Listener.c++: In function `static void Listener::accept_localclient(int, void
*)':
Listener.c++:276: passing `int *' as argument 3 of `accept(int, sockaddr *,
socklen_t *)' changes signedness
Raphaël0
--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
|