Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

xiaoweiChen
Copy link

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

解决方案参考:
lucasg/Dependencies#273

@xiaoweiChen xiaoweiChen closed this by deleting the head repository Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant