cocos2d-x-3.6版本的json/document.h在xcode下编译会报错

hi,all

刚接触cocos开发,编译一个朋友的项目,会报document.h(cocos2d/external/json/document.h)的错误,具体的log日志如下:


../cocos2d/external/json/document.h:292:16: error: call to constructor of 'rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >' is ambiguous
                GenericValue v(value);

朋友在windows、linux下面编译都是ok的,但是我把项目拿过来,在mac下面编译就不行。

其他一些信息:

  • 用的是cocos2d-x-3.6版本
  • xcode版本是Version 6.3.1 (6D1002)
  • os版本是10.10