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

add missing include statement in distance.h #423

Merged
merged 3 commits into from
Mar 4, 2024

Conversation

kaiott
Copy link
Contributor

@kaiott kaiott commented Feb 26, 2024

Summary

fixes #422.
Adds a missing include statement in one of the C++ header files such that the C++ compiler does not exit with a fatal error.

Details and comments

The issue seems to only appear when installing the project on Windows. This can be due to different C++ compilers used by different operating systems (Clang on macOS and MSVC on Windows). It is possible that Clang is more permissive with missing include statements of the standard library, while MSVC is more strict. However, adding the include statement explicitly will not affect the behavior on macOS machines.

@CLAassistant
Copy link

CLAassistant commented Feb 26, 2024

CLA assistant check
All committers have signed the CLA.

@quantumjim quantumjim self-requested a review February 26, 2024 12:09
quantumjim
quantumjim previously approved these changes Feb 26, 2024
Copy link
Member

@quantumjim quantumjim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@grace-harper grace-harper self-assigned this Mar 4, 2024
@grace-harper grace-harper merged commit 778eb61 into qiskit-community:main Mar 4, 2024
5 checks passed
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.

Cannot install qiskit-qec on a Windows machine: ERROR: Failed building editable for qiskit_qec
4 participants