Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@LilyWangLL
Copy link

I am a member of Microsoft vcpkg, due to there are new changes merged by microsoft/STL#5105, which revealed a conformance issue in ogdf. It must add include <chrono> to fix this error.

Compiler error with this STL change:

D:\b\ogdf\src\3b65b433a9-facc12a078.clean\src\ogdf\cluster\HananiTutteCPlanarity.cpp(47): error C2039: 'high_resolution_clock': is not a member of 'std::chrono'
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.41.34120\include\__msvc_chrono.hpp(286): note: see declaration of 'std::chrono'
D:\b\ogdf\src\3b65b433a9-facc12a078.clean\src\ogdf\cluster\HananiTutteCPlanarity.cpp(47): error C2873: 'high_resolution_clock': symbol cannot be used in a using-declaration

@netlify
Copy link

netlify bot commented Nov 28, 2024

Doxygen Documentation successfully built!

Name Link
🔨 Latest commit 1e3e910
🔍 Latest deploy log https://app.netlify.com/sites/ogdf/deploys/674880ea840b1a00088faa81
😎 Deploy Preview https://deploy-preview-254--ogdf.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@N-Coder
Copy link
Member

N-Coder commented Nov 28, 2024

Ah, thanks! I've already seen this issue come up in a CI run here, although for newer files that haven't made it into a release yet. I'll see what CI now says with this one change, fix any further files that need fixing and then merge. Is that enough for vcpkg or do you need a backport?

@LilyWangLL
Copy link
Author

Ah, thanks! I've already seen this issue come up in a CI run here, although for newer files that haven't made it into a release yet. I'll see what CI now says with this one change, fix any further files that need fixing and then merge. Is that enough for vcpkg or do you need a backport?

Thanks for your reply, I have already fixed this issue in vcpkg by adding a patch. The related PR link is: microsoft/vcpkg#42399. Once this PR is merged, we will remove the related patch the next time we update ogdf in vcpkg.

@N-Coder N-Coder self-requested a review November 28, 2024 11:38
@sonarqubecloud
Copy link

@N-Coder N-Coder merged commit 3e7e837 into ogdf:master Nov 29, 2024
21 checks passed
Ortham added a commit to loot/loot that referenced this pull request Feb 23, 2025
Microsoft changed something in their STL implementation and it revealed a missing import in OGDF, more details here: ogdf/ogdf#254
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