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

include vector to fix compile errors on newer versions of VS #9

Merged
merged 1 commit into from
Nov 5, 2022

Conversation

cheahjs
Copy link
Contributor

@cheahjs cheahjs commented Nov 5, 2022

The project does not currently build on VS 2022 17.3.1 and newer due to a missing include of <vector>.

Previously, <vector> was being transitively included via the <mutex> include, which included <chrono>, which finally includes <vector>.

However, from VS 2022 17.3.1 onwards, microsoft/STL#2604 removes <mutex>'s include of <chrono> in favor of a smaller internal header which does not include <vector>.

@knoxfighter knoxfighter merged commit 5ef715d into knoxfighter:main Nov 5, 2022
@cheahjs cheahjs deleted the vector-patch branch November 5, 2022 22:52
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