关于include编译错误问题

One of your header files is almost certainly including:

#include 

Before that line, add:

#undef max

And I believe your compiles will start working. This is happening b/c you are also using the C std library, which for some functions uses macros, and in this case, causes the preprocessor to freak out. I've seen this same error on Linux, and undefining that symbol was all i needed to get things compiling again.


你可能感兴趣的:(C++交流)