VS2015 GdiplusTypes.h(475): error C3861: 'min': identifier not found

查了好多资料 都不管用 包括 定义宏 #define NOMINMAX

 

最直接的办法,就是在项目引用 #include <GdiPlus.h> 之前 定义 

namespace Gdiplus
{
using std::min;
using std::max;
};

问题解决

 

stack flow : https://*.com/questions/15900381/nominmax-with-visual-studio-2012-mfc-project

上一篇:Password authentication is temporarily disabled as part of a brownout. Please use a personal access


下一篇:LLVM程序分析日记之GEP Instruction