Home > other >  Cocos2d - x + vs2013, compiled in the end there is a problem?
Cocos2d - x + vs2013, compiled in the end there is a problem?

Time:09-24


Is this paragraph, the great god how to solve ah, urgent urgent!!!!!!!!!!
Member * FindMember (const Ch * name) {
RAPIDJSON_ASSERT (name);
RAPIDJSON_ASSERT (IsObject ());

SizeType length=internal: : StrLen (name);

Object& O=data_. O;
For (Member * Member=o.m embers. Member!=data_. O.m embers + data_. Grown considering; + + member)
If (length==member - & gt; Name. Data_. S.l ength & amp; & amp; Memcmp (member - & gt; Name. Data_. S.s tr, name, length * sizeof (Ch))==0)
Return member;

return 0;
}

CodePudding user response:

Cocos2dx 3.1

CodePudding user response:

//RAPIDJSON_ASSERT

//! An Assertion.
/*! By default, rapidjson USES C assert () for an assertion.
The User can override it by defining RAPIDJSON_ASSERT (x) macro.
*/
# # ifndef RAPIDJSON_ASSERT
# include & lt; Cassert>
# define RAPIDJSON_ASSERT assert (x) (x)
# endif//RAPIDJSON_ASSERT

Open the rapidjson. H header file, turn off the above macro
  • Related