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 1] Include <chrono> for system_clock and high_resolution_clock #42399

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

LilyWangLL
Copy link
Contributor

Due to there are new changes merged by microsoft/STL#5105, so ports concurrencpp iceoryx nrf-ble-driver nsync and ogdf 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'

The upstream of nrf-ble-driver released a deprecation notice NordicSemiconductor/pc-ble-driver#279 in April this year. Now it is not possible to raise questions or PRs upstream.

The other ports have submitted relevant PRs upstream. The list is as follows:
David-Haim/concurrencpp#170
eclipse-iceoryx/iceoryx#2378
google/nsync#25
ogdf/ogdf#254

  • 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 changed the title [many ports] Include <chrono> for system_clock and high_resolution_clock [many ports] Include <chrono> for system_clock and high_resolution_clock Nov 28, 2024
@LilyWangLL LilyWangLL marked this pull request as ready for review November 28, 2024 10:15
@LilyWangLL LilyWangLL changed the title [many ports] Include <chrono> for system_clock and high_resolution_clock [many ports 1] Include <chrono> for system_clock and high_resolution_clock Nov 28, 2024
@Cheney-W Cheney-W added the info:reviewed Pull Request changes follow basic guidelines label Nov 28, 2024
@BillyONeal BillyONeal merged commit 389e18e into microsoft:master Nov 28, 2024
17 checks passed
@BillyONeal
Copy link
Member

Thanks!

@LilyWangLL LilyWangLL deleted the dev/LilyWang/include-chrono-1 branch November 29, 2024 02:57
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