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

BUG,CI: Fix strdup declaration on Cygwin and add Cygwin CI. #1

Closed
wants to merge 7 commits into from

Conversation

DWesl
Copy link
Owner

@DWesl DWesl commented Feb 20, 2024

Description

Attempts to fix pybind#4999

Suggested changelog entry:

- Include pyconfig.h in pybind11.h so system headers don't break python.

@DWesl
Copy link
Owner Author

DWesl commented Mar 8, 2024

Note: Compiler crashes when linking one of the tests. Not sure how to debug that.

@DWesl
Copy link
Owner Author

DWesl commented Mar 15, 2024

Three layers of headers in, pybind11.h does include Python.h, after only a single file with a comment explaining in what circumstances it breaks things. I think the other file is only relevant if debugging on Windows. The crash on Cygwin is odd, but I have no idea what to do about that.

@DWesl DWesl closed this Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant