-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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 in main / 3.11 #96017
Comments
- "comparison of integers of different signs" in typeobject.c - only define static_builtin_index_is_set in DEBUG builds - unset NDEBUG before including assert.h - only define recreate_gil with ifdef HAVE_FORK
Petr takes care of |
- "comparison of integers of different signs" in typeobject.c - only define static_builtin_index_is_set in DEBUG builds - only define recreate_gil with ifdef HAVE_FORK
- "comparison of integers of different signs" in typeobject.c - only define static_builtin_index_is_set in DEBUG builds - only define recreate_gil with ifdef HAVE_FORK. (cherry picked from commit d9c1b74) Co-authored-by: Christian Heimes <[email protected]>
I'm going to break out the |
See issue #97786 for the _Py_InIntegralTypeRange() warning. |
- only define recreate_gil with ifdef HAVE_FORK. (cherry picked from commit d9c1b74) Co-authored-by: Christian Heimes <[email protected]>
FYI, the last warning still appears on |
It's hard to keep track of an issue reported multiple unrelated compiler warnings. Most of them seem to be fixed, so I close the issue. You may open new issues if some warnings are still emitted on latest versions. |
Bug report
I'm getting several compiler warnings when compiling on Linux X86_64, wasm32-emscripten, and wasm32-wasi.
Your environment
warnings
Fix: cast sizeof to Py_ssize_t
Fix: don't define the function if NDEBUG is set.
Fix: unset NDEBUG before including
assert.h
.Fix: only define function ifdef HAVE_FORK
The warning is coming from clang from WASI-SDK.
The warnings are coming from clang from WASI-SDK. These look like issues in upstream expat code.
The text was updated successfully, but these errors were encountered: