-
Notifications
You must be signed in to change notification settings - Fork 26
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
Failure to build debug version under Windows #28
Comments
How do you switch to debug build ? I am asking because limiting debug build to debug Python as done in #29 may still be surprising. I probably make sense to force debug in that case but we should be able to manually set it. |
Yes, I had also been thinking about that. The check for debug Python is actually taken from |
Do you have a reference about this ? The changes only affect windows so if it is true we can merge your PR. |
Hm, can't find a good reference right now, but it boils to the following (taken from SO):
Basically, mixing debug and release runtime libraries at runtime can lead to various hard-to-find problems, mostly related to memory corruption, which I have seen multiple times. |
After the latest change (always link statically under Windows), debug builds of kiwisolver (and possibly other modules) fail with linker errors due to missing debug symbols:
The reason can be seen in the warning:
e.g. while overriding the flag the debug mode is ignored.
The text was updated successfully, but these errors were encountered: