Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Omnisip
Beginner
20 Views

Issue with compilation where it works on MSVC and GCC

4>..\\..\\..\\icestack\\reflow\\Flow.cxx(936): error : no operator "==" matches these operands
4> operand types are: const resip::Data == const resip::Data
4> if (candIt->mRemoteCandidate.getFoundation() == nominatedCandidatePair->mRemoteCandidate.getFoundation())

both functions return const resip::Data& not const resip::Data.

Also, rutil/Data.hxx included properly and operator== is declared in at least 2 places.

friend bool operator==(const resip::Data& lhs, const resip::Data& rhs); in the class definition

and

I also after trying to fight with this compiler added:

bool operator==(const Data& lhs, const Data& rhs);

All of course this is in the resip namespace, which at the top of the file is imported via:

using namespace resip;

Dan
0 Kudos
1 Reply
Om_S_Intel
Employee
20 Views

It would be nice if you can help with testcase to reproduce the issue.