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

✨ compiler warnings #2296

Open
joocer opened this issue Jan 23, 2025 · 0 comments
Open

✨ compiler warnings #2296

joocer opened this issue Jan 23, 2025 · 0 comments

Comments

@joocer
Copy link
Contributor

joocer commented Jan 23, 2025

warning: opteryx/compiled/structures/node.pyx:119:22: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly.

performance hint: opteryx/compiled/functions/murmurhash3_32.pxd:6:28: No exception value declared for 'cy_murmurhash3' in pxd file.
Users cimporting this function and calling it without the gil will always require an exception check.
Suggest adding an explicit exception value.

/home/pi/opteryx_venv/lib/python3.11/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /home/pi/opteryx/opteryx/compiled/joins/outer_join.pyx

performance hint: ./opteryx/third_party/cyan4973/xxhash.pxd:11:27: No exception value declared for 'cy_xxhash3_64' in pxd file.
Users cimporting this function and calling it without the gil will always require an exception check.

warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]

opteryx/compiled/list_ops/list_ops.cpp:25492:36: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]

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

No branches or pull requests

1 participant