MemoryModulePP icon indicating copy to clipboard operation
MemoryModulePP copied to clipboard

Fix some compile-time error when use window sdk 10.0.26100.

Open xiaoweiChen opened this issue 1 year ago • 0 comments

condition : Windows SDK (10.0.26100) Building error :

16:42:41:601	1>------ 已启动生成: 项目: MemoryModule, 配置: Debug x64 ------
16:42:41:735	1>ImportTable.cpp
16:42:41:945	1>D:\opensource\MemoryModulePP\3rdparty\phnt\include\ntioapi.h(778,16): error C2011: “_FILE_STAT_INFORMATION”:“struct”类型重定义
16:42:42:002	1>(编译源文件“ImportTable.cpp”)
16:42:42:002	1>    C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\winnt.h(15062,16):
16:42:42:002	1>    参见“_FILE_STAT_INFORMATION”的声明
16:42:42:002	1>D:\opensource\MemoryModulePP\3rdparty\phnt\include\ntioapi.h(816,16): error C2011: “_FILE_STAT_LX_INFORMATION”:“struct”类型重定义
16:42:42:002	1>(编译源文件“ImportTable.cpp”)
16:42:42:002	1>    C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\winnt.h(15095,16):
16:42:42:002	1>    参见“_FILE_STAT_LX_INFORMATION”的声明
16:42:42:002	1>D:\opensource\MemoryModulePP\3rdparty\phnt\include\ntioapi.h(840,16): error C2011: “_FILE_CASE_SENSITIVE_INFORMATION”:“struct”类型重定义
16:42:42:002	1>(编译源文件“ImportTable.cpp”)
16:42:42:002	1>    C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\winnt.h(15167,16):
16:42:42:002	1>    参见“_FILE_CASE_SENSITIVE_INFORMATION”的声明
16:42:42:002	1>Initialize.cpp

解决方案参考: https://github.com/lucasg/Dependencies/issues/273

xiaoweiChen avatar Oct 12 '24 08:10 xiaoweiChen