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

Change incompatible pointer type from RadixNodeObject to PyObject #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robert-scheck
Copy link

Since GCC 14 implicitly casting all pointer types to all other pointer types is no longer allowed. This behavior is now restricted to the void * type and its qualified variations. According to the Python 3 documentation, all object types are extensions of the PyObject type. And it looks like the RadixNodeObject should meet the conditions to be a proper Python object.

See also:

Fixes: #57

Thanks to @musicinmybrain and @mbattista for their input and suggestions.

@glaubitz
Copy link

I can confirm that this patch fixes the problem for me.

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.

Fails to build with GCC 14 as the default compiler due to -Wincompatible-pointer-types
2 participants