Skip to content

Fix the compilation error of the operator""us caused by the MSVC toolset 14.4x #496

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

leozzyzheng
Copy link

@leozzyzheng leozzyzheng commented Apr 3, 2025

MSVC toolset v14.4x has some changes on chrono, see image below:
0a43c90e70ecddd12ce30ac007799eaf

So compiling will fail when using the latest toolset of VS 2022. Correctly including the header file can resolve this issue.
79deb2ab9f0b4e08f0d1ace57fca5996

Please consider accepting this PR as it breaks the compilation for all new users who are using only the latest toolset.

@leozzyzheng leozzyzheng mentioned this pull request Apr 3, 2025
@EanoJiang
Copy link

thanks!

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.

2 participants