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
For non-debug builds, the cygwinccompiler.py should define NDEBUG #51431
Comments
Currently, msvccompiler.py defines NDEBUG for non-debug builds. Unix |
Posix build system read flags from makefile. |
Sorry, I should have said the mingw32 compiler, which is contained in I noticed this when trying to build an extension module with "python where "debug_only_field" is only declared if Py_DEBUG is set. When |
Ok Daniel. |
Roumen, were you suggesting that this is a user rather than build issue, or just suggesting a workaround until fixed? |
Hi Terry,
|
Would this change fix an important bug, or is it a feature request? Behavior changes that don’t fix bugs don’t go into distutils. |
I think this is a bug but on the other hand I found msg94327 extremely confusing. Would someone like to clarify the situation. |
Distutils is now deprecated (see PEP-632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If you believe it still requires a fix, most likely the issue should be re-reported at https://github.com/pypa/setuptools |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: