RCF 2.0.0.2679, boost 1.53.0 and gcc 4.6.3

RCF support and general discussion.
Post Reply
Volker
Posts: 26
Joined: Wed May 23, 2012 3:27 pm

RCF 2.0.0.2679, boost 1.53.0 and gcc 4.6.3

Post 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

jarl
Posts: 238
Joined: Mon Oct 03, 2011 4:53 am
Contact:

Re: RCF 2.0.0.2679, boost 1.53.0 and gcc 4.6.3

Post by jarl »

Thanks for reporting this. There is a new build in the works, and I've put a fix in for it.
Kind Regards

Jarl Lindrud
Delta V Software
http://www.deltavsoft.com

Post Reply