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

min/max conflict with windows macros #1291

Closed
wants to merge 8 commits into from

Conversation

MatteoNasci
Copy link
Contributor

When building for windows any mention of min/max functions will conflict with the relative min/max windows macros.
This is an "hack" that removes the error, the proper fix is to avoid windows defining min/max or undefining them (for some reason the #define NOMINMAX in the dpp/export.h does not prevent the macros from being defined).

Copy link
Contributor

Thank you for your contribution, but PRs must be raised against the dev branch. Please log your pull request against the dev branch not master. You can also retarget this pull request, then reopen it.

@github-actions github-actions bot closed this Oct 18, 2024
@github-actions github-actions bot added documentation Improvements or additions to documentation code Improvements or additions to code. labels Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Improvements or additions to code. documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant