Skip to content

Conversation

@v-ein
Copy link
Collaborator

@v-ein v-ein commented Jun 20, 2025


name: Pull Request
about: Create a pull request to help us improve
title: Fix for a build error on modern MSVC
assignees: ''


Description:
GitHub is having issues with building DPG for Windows. In particular, the compiler can't resolve an ambiguous abs() call where the argument is float (and abs is an integer function). While we could simply change start to float, I preferred to keep the current logic because I'm going to add another PR in future that will fix more issues in the loading indicator, so no need to change the behavior now. I'm only helping the compiler choose the right abs overload :).

Concerning Areas:
None.

@v-ein v-ein requested a review from hoffstadt as a code owner June 20, 2025 08:11
@v-ein v-ein self-assigned this Jun 20, 2025
@v-ein
Copy link
Collaborator Author

v-ein commented Jun 21, 2025

Now I wonder. This PR has not been merged yet but when I opened #2521 the Windows build completed successfully. Could it be that this PR is no longer necessary?

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.

1 participant