I have using the CCNumber repo found here in my Cocos2D-X application. The code
inline int compare(const CCNumber<_typeT>* rhs)
{
return memcmp((void*)&m_type, (void*)&rhs->m_type, sizeof(_typeT));
}
gives me an error
Invalid arguments '
Candidates are:
int memcmp(const void *, const void *, ?)
what am i doing wrong ?