[Consmgr-tech] Consmgr won't compile in gcc 4.3
Status: Alpha
Brought to you by:
cross
|
From: Chris R. <cro...@di...> - 2008-03-30 01:31:11
|
Geoff, in revision 210, when you added the MasterController class,
you also for some reason made the static manage() member of Connection
private rather than public. For reasons I don't understand, things
still compile under gcc 4.0 and 4.1, but with that private, Listener
(which currently calls pthread_create on Connection::manage) fails to
compile now using gcc 4.3.
I'm not sure whether it's a bug that it compiled before or not, but.
Doesn't MasterController also need to invoke a thread on
Connection::manage? In which case, it'll need to stay public. (And,
you changed it to private, and the comment a few lines below still
discusses it being public, but that's another point.)
Thanks. Could use your thoughts on why you changed that.
- Chris
|