Skip to content

Conversation

@Xywzel
Copy link

@Xywzel Xywzel commented Jul 4, 2025

These are from with pip+wheels default parameters. This allows for pip install to work on machines where gcc14 is default gcc without having to change links or aliases. Keyword restrict has been supported since c99 so should be safe to use.

@jerematt
Copy link
Collaborator

jerematt commented Jul 8, 2025

Thanks for the PR. I had a look at the changed code and it seems like these variables should simply not be referenced since they are local arrays and already treated as pointers for strncpy.

I fixed this (and other GCC warnings) in PR #70 which I'll look to get merged and a release out soon.

PyPredict version with the fix will be 1.8.0

@jerematt
Copy link
Collaborator

Will close this as #70 should hopefully resolve the warning with newer GCC's. Thanks again for the original PR, and do let us know if this doesnt solve the issue for you.

@jerematt jerematt closed this Jul 28, 2025
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.

2 participants