首页 > 其他 > 详细

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

时间:2021-03-30 16:43:20      阅读:26      评论:0      收藏:0      [点我收藏+]

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

 

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

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

问题解决

 

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

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

原文:https://www.cnblogs.com/132818Creator/p/14596510.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!