1>c:\program files (x86)\windows kits\8.0\include\shared\ntdef.h(137): warning C4005: “MAX_NATURAL_ALIGNMENT”: 宏重定义
1> c:\program files (x86)\windows kits\8.0\include\um\winnt.h(117) : 参见“MAX_NATURAL_ALIGNMENT”的前一个定义
1>c:\program files (x86)\windows kits\8.0\include\shared\ntdef.h(161): warning C4005: “PROBE_ALIGNMENT”: 宏重定义
1> c:\program files (x86)\windows kits\8.0\include\um\winnt.h(141) : 参见“PROBE_ALIGNMENT”的前一个定义
1>c:\program files (x86)\windows kits\8.0\include\shared\ntdef.h(632): error C2011: “_PROCESSOR_NUMBER”:“struct”类型重定义
1> c:\program files (x86)\windows kits\8.0\include\um\winnt.h(507) : 参见“_PROCESSOR_NUMBER”的声明
1>c:\program files (x86)\windows kits\8.0\include\shared\ntdef.h(643): error C2011: “_GROUP_AFFINITY”:“struct”类型重定义
网上的方法都试过了。还是不能解决。。请大家帮帮忙啊。。着急。。
代码链接 https://code.csdn.net/snippets/467778
------解决思路----------------------
加宏的控制范围行不行
#undef XXXXXX