今天添加fmt库的时候出现fmt/printf.h(373): error C2589: “(”:“::”右边的非法标记
上网查询了资料是命名冲突
解决方法:
// we always use stdlib std::max/std::min, undefine some not C++ standard defines (Win API and some other platforms)
#ifdef max
#undef max
#endif
#ifdef min
#undef min
#endif
取消max min宏定义