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

[many ports 2] Include <chrono> for system_clock and high_resolution_clock #42404

Merged

Conversation

LilyWangLL
Copy link
Contributor

@LilyWangLL LilyWangLL commented Nov 28, 2024

Due to there are new changes merged by microsoft/STL#5105, so ports antlr4 avisynthplus ignition-common1 and ompl need to include <chrono> by patching to fix the following error:

error C2039: 'system_clock': is not a member of 'std::chrono'
error C2039: 'high_resolution_clock': is not a member of 'std::chrono'
error C2653: 'high_resolution_clock': is not a class or namespace name

The master of ignition-common1 has been added <chrono>.
The other ports have submitted relevant PRs upstream. The list is as follows:
antlr/antlr4#4738
AviSynth/AviSynthPlus#414
ompl/ompl#1201

  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version.
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.

@LilyWangLL LilyWangLL added category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team. labels Nov 28, 2024
@LilyWangLL LilyWangLL marked this pull request as ready for review November 29, 2024 01:08
@Cheney-W Cheney-W added the info:reviewed Pull Request changes follow basic guidelines label Nov 29, 2024
@BillyONeal BillyONeal merged commit 6631ed5 into microsoft:master Dec 2, 2024
17 checks passed
@BillyONeal
Copy link
Member

Thanks!

@LilyWangLL LilyWangLL deleted the dev/LilyWang/include-chrono-2 branch December 11, 2024 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team. info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants