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

启用 /guard:ehcont 时编译报告2047链接错误 #31

Closed
MouriNaruto opened this issue Jul 14, 2022 · 3 comments
Closed

启用 /guard:ehcont 时编译报告2047链接错误 #31

MouriNaruto opened this issue Jul 14, 2022 · 3 comments
Labels
类型:问题(Bug) Something isn't working 处置:完成(Done) 影响范围:低 这个问题不会造成真正的体验问题,可以暂缓解决。

Comments

@MouriNaruto
Copy link
Member

MouriNaruto commented Jul 14, 2022

/guard:ehcont 选项介绍:https://docs.microsoft.com/en-us/cpp/build/reference/guard-enable-eh-continuation-metadata?view=msvc-170

前段日子,有人为 NanaZip 贡献了 CET 和 CFG 的支持,在验证的时候发现 VC-LTL 的 UCRT 实现未适配 /guard:ehcont 编译器选项支持

毛利

@MouriNaruto MouriNaruto changed the title VC-LTL 在开启 VC-LTL 的情况下,编译器选项引入 /guard:ehcont 会报错 Jul 14, 2022
@MouriNaruto
Copy link
Member Author

image

附相关问题截图

@mingkuang-Chuyu mingkuang-Chuyu changed the title 在开启 VC-LTL 的情况下,编译器选项引入 /guard:ehcont 会报错 启用 /guard:ehcont 时编译会报告2047链接错误 Jul 17, 2022
@mingkuang-Chuyu mingkuang-Chuyu changed the title 启用 /guard:ehcont 时编译会报告2047链接错误 启用 /guard:ehcont 时编译报告2047链接错误 Jul 17, 2022
@mingkuang-Chuyu mingkuang-Chuyu added 处置:等待验证(Testing) 正在联系Bug提交者,确认问题是否解决。 and removed 处置:正在开发(Developing) labels Jul 17, 2022
@mingkuang-Chuyu mingkuang-Chuyu added the 影响范围:低 这个问题不会造成真正的体验问题,可以暂缓解决。 label Jul 17, 2022
@mingkuang-Chuyu
Copy link
Collaborator

@MouriNaruto
Copy link
Member Author

突然发现忘记在这里说了,做个补充

经过前段日子验证,NanaZip 附带相关选项成功编译且暂时没有发现奇怪的问题

于是 Nana 系列项目用的编译工具链最近开始会启用相关选项

毛利

@MouriNaruto MouriNaruto added 处置:完成(Done) and removed 处置:等待验证(Testing) 正在联系Bug提交者,确认问题是否解决。 labels Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
类型:问题(Bug) Something isn't working 处置:完成(Done) 影响范围:低 这个问题不会造成真正的体验问题,可以暂缓解决。
Projects
None yet
Development

No branches or pull requests

2 participants