Page 1 of 1

RCF 2.0.0.2679, boost 1.53.0 and gcc 4.6.3

Posted: Mon May 06, 2013 7:59 am
by Volker
Hi Jarl,

when I try to compile RCF in combination with the components stated above I get the following error message :

Code: Select all

In file included from RCF.cpp:91:0:
RcfSession.cpp: In member function ‘bool RCF::RcfSession::hasDefaultServerStub()’:
RcfSession.cpp:184:16: error: cannot convert ‘RCF::StubEntryPtr {aka boost::shared_ptr<RCF::StubEntry>}’ to ‘bool’ in return
I fixed this in my environment by replacing the offending code with the following :

Code: Select all

bool RcfSession::hasDefaultServerStub()
{
    Lock lock(mMutex);
    return !!mDefaultStubEntryPtr;
}
Regards,

Volker

Re: RCF 2.0.0.2679, boost 1.53.0 and gcc 4.6.3

Posted: Mon May 06, 2013 11:23 am
by jarl
Thanks for reporting this. There is a new build in the works, and I've put a fix in for it.