Skip to content

Fix compilation errors/warnings - #257

Merged
astrofrog merged 1 commit into
hyperion-rt:mainfrom
astrofrog:fix-voronoi-c-pointer-types
Jul 23, 2026
Merged

Fix compilation errors/warnings#257
astrofrog merged 1 commit into
hyperion-rt:mainfrom
astrofrog:fix-voronoi-c-pointer-types

Conversation

@astrofrog

@astrofrog astrofrog commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Cast the numpy array objects to PyArrayObject pointers when calling PyArray_DATA and PyArray_DIM so the Voronoi extension compiles with GCC 14 where incompatible pointer types are an error

Fixes #252

…yArray_DATA and PyArray_DIM so the Voronoi extension compiles with GCC 14 where incompatible pointer types are an error
@astrofrog astrofrog added the bug label Jul 23, 2026
@astrofrog
astrofrog merged commit ae85076 into hyperion-rt:main Jul 23, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

compiling python-c bindings: PyArrayObject * pointer type problems

1 participant