RCF 2.0.0.2679, boost 1.53.0 and gcc 4.6.3
Posted: Mon May 06, 2013 7:59 am
Hi Jarl,
when I try to compile RCF in combination with the components stated above I get the following error message :
I fixed this in my environment by replacing the offending code with the following :
Regards,
Volker
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
Code: Select all
bool RcfSession::hasDefaultServerStub()
{
Lock lock(mMutex);
return !!mDefaultStubEntryPtr;
}
Volker