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 noexcept to lintegrate_callback to prevent Cython error #28

Merged
merged 8 commits into from Aug 31, 2023

Conversation

mattpitkin
Copy link
Owner

When trying to install lintegrate from source or from PyPI, it gives errors like:

      lintegrate/lintegrate.pyx:461:33: Cannot assign type 'double (double, void *, void *) except? -1' to 'pylintfunc'. Exception values are incompatible. Suggest adding 'noexcept' to type 'double (double, void *, void *) except? -1'.

These errors are fixed by this patch.

@mattpitkin mattpitkin merged commit cd9b790 into master Aug 31, 2023
20 checks passed
@mattpitkin mattpitkin deleted the noexcept branch August 31, 2023 21:38
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.

None yet

1 participant