首页 > Cocos2d-x 2.1.5 的编译错误:symbol cannot be used in a using-declaration

Cocos2d-x 2.1.5 的编译错误:symbol cannot be used in a using-declaration

我用的是VS2013,打开的是2012的解决方案.
在libExtensionis项目下有几个文件报有:

error C2873: 'min' : symbol cannot be used in a using-declaration

的错误.
错误是因为有一行:

 using std::min;

我知道std::min 是 <algorithm>里面的,我#include <algorithm>之后,问题就没了,但是这是我刚下载的原封未动的代码,怎么会有这个错误.是因为转换sln版本的原因吗?
请指教.

【热门文章】
【热门文章】