You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from Python/optimizer.c:3:
./Include/internal/pycore_interp.h:222:42: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'const uint64_t *' (aka 'const unsigned long long *') [-Wincompatible-pointer-types]
return _Py_atomic_load_ulong_relaxed(&interp->_finalizing_id);
^~~~~~~~~~~~~~~~~~~~~~~
./Include/cpython/pyatomic_gcc.h:342:48: note: passing argument to parameter 'obj' here
_Py_atomic_load_uint64_relaxed(const uint64_t *obj)
^
In file included from Python/optimizer.c:3:
./Include/internal/pycore_interp.h:229:40: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'uint64_t *' (aka 'unsigned long long *') [-Wincompatible-pointer-types]
_Py_atomic_store_ulong_relaxed(&interp->_finalizing_id, 0);
^~~~~~~~~~~~~~~~~~~~~~~
./Include/cpython/pyatomic_gcc.h:460:43: note: passing argument to parameter 'obj' here
_Py_atomic_store_uint64_relaxed(uint64_t *obj, uint64_t value)
^
In file included from Python/optimizer.c:3:
./Include/internal/pycore_interp.h:234:40: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'uint64_t *' (aka 'unsigned long long *') [-Wincompatible-pointer-types]
_Py_atomic_store_ulong_relaxed(&interp->_finalizing_id,
^~~~~~~~~~~~~~~~~~~~~~~
./Include/cpython/pyatomic_gcc.h:460:43: note: passing argument to parameter 'obj' here
_Py_atomic_store_uint64_relaxed(uint64_t *obj, uint64_t value)
^
In file included from Python/optimizer.c:8:
In file included from ./Include/internal/pycore_pystate.h:11:
./Include/internal/pycore_runtime.h:310:42: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'const uint64_t *' (aka 'const unsigned long long *') [-Wincompatible-pointer-types]
return _Py_atomic_load_ulong_relaxed(&runtime->_finalizing_id);
^~~~~~~~~~~~~~~~~~~~~~~~
./Include/cpython/pyatomic_gcc.h:342:48: note: passing argument to parameter 'obj' here
_Py_atomic_load_uint64_relaxed(const uint64_t *obj)
^
In file included from Python/optimizer.c:8:
In file included from ./Include/internal/pycore_pystate.h:11:
./Include/internal/pycore_runtime.h:317:40: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'uint64_t *' (aka 'unsigned long long *') [-Wincompatible-pointer-types]
_Py_atomic_store_ulong_relaxed(&runtime->_finalizing_id, 0);
^~~~~~~~~~~~~~~~~~~~~~~~
./Include/cpython/pyatomic_gcc.h:460:43: note: passing argument to parameter 'obj' here
_Py_atomic_store_uint64_relaxed(uint64_t *obj, uint64_t value)
^
In file included from Python/optimizer.c:8:
In file included from ./Include/internal/pycore_pystate.h:11:
./Include/internal/pycore_runtime.h:322:40: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'uint64_t *' (aka 'unsigned long long *') [-Wincompatible-pointer-types]
_Py_atomic_store_ulong_relaxed(&runtime->_finalizing_id,
^~~~~~~~~~~~~~~~~~~~~~~~
./Include/cpython/pyatomic_gcc.h:460:43: note: passing argument to parameter 'obj' here
_Py_atomic_store_uint64_relaxed(uint64_t *obj, uint64_t value)
^
6 warnings generated.
gcc -c -fno-strict-overflow -Wsign-compare -g -Og -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -I/opt/homebrew/opt/openssl/include -I/opt/homebrew/opt/openssl/include -DPy_BUILD_CORE \
-DGITVERSION="\"`LC_ALL=C git --git-dir ./.git rev-parse --short HEAD`\"" \
-DGITTAG="\"`LC_ALL=C git --git-dir ./.git describe --all --always --dirty`\"" \
-DGITBRANCH="\"`LC_ALL=C git --git-dir ./.git name-rev --name-only HEAD`\"" \
-o Modules/getbuildinfo.o ./Modules/getbuildinfo.c
In file included from ./Modules/getbuildinfo.c:6:
In file included from ./Include/internal/pycore_pylifecycle.h:11:
In file included from ./Include/internal/pycore_runtime.h:17:
./Include/internal/pycore_interp.h:222:42: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'const uint64_t *' (aka 'const unsigned long long *') [-Wincompatible-pointer-types]
return _Py_atomic_load_ulong_relaxed(&interp->_finalizing_id);
^~~~~~~~~~~~~~~~~~~~~~~
./Include/cpython/pyatomic_gcc.h:342:48: note: passing argument to parameter 'obj' here
_Py_atomic_load_uint64_relaxed(const uint64_t *obj)
^
In file included from ./Modules/getbuildinfo.c:6:
In file included from ./Include/internal/pycore_pylifecycle.h:11:
In file included from ./Include/internal/pycore_runtime.h:17:
./Include/internal/pycore_interp.h:229:40: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'uint64_t *' (aka 'unsigned long long *') [-Wincompatible-pointer-types]
_Py_atomic_store_ulong_relaxed(&interp->_finalizing_id, 0);
^~~~~~~~~~~~~~~~~~~~~~~
./Include/cpython/pyatomic_gcc.h:460:43: note: passing argument to parameter 'obj' here
_Py_atomic_store_uint64_relaxed(uint64_t *obj, uint64_t value)
^
In file included from ./Modules/getbuildinfo.c:6:
In file included from ./Include/internal/pycore_pylifecycle.h:11:
In file included from ./Include/internal/pycore_runtime.h:17:
./Include/internal/pycore_interp.h:234:40: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'uint64_t *' (aka 'unsigned long long *') [-Wincompatible-pointer-types]
_Py_atomic_store_ulong_relaxed(&interp->_finalizing_id,
^~~~~~~~~~~~~~~~~~~~~~~
./Include/cpython/pyatomic_gcc.h:460:43: note: passing argument to parameter 'obj' here
_Py_atomic_store_uint64_relaxed(uint64_t *obj, uint64_t value)
^
In file included from ./Modules/getbuildinfo.c:6:
In file included from ./Include/internal/pycore_pylifecycle.h:11:
./Include/internal/pycore_runtime.h:310:42: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'const uint64_t *' (aka 'const unsigned long long *') [-Wincompatible-pointer-types]
return _Py_atomic_load_ulong_relaxed(&runtime->_finalizing_id);
^~~~~~~~~~~~~~~~~~~~~~~~
./Include/cpython/pyatomic_gcc.h:342:48: note: passing argument to parameter 'obj' here
_Py_atomic_load_uint64_relaxed(const uint64_t *obj)
^
In file included from ./Modules/getbuildinfo.c:6:
In file included from ./Include/internal/pycore_pylifecycle.h:11:
./Include/internal/pycore_runtime.h:317:40: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'uint64_t *' (aka 'unsigned long long *') [-Wincompatible-pointer-types]
_Py_atomic_store_ulong_relaxed(&runtime->_finalizing_id, 0);
^~~~~~~~~~~~~~~~~~~~~~~~
./Include/cpython/pyatomic_gcc.h:460:43: note: passing argument to parameter 'obj' here
_Py_atomic_store_uint64_relaxed(uint64_t *obj, uint64_t value)
^
In file included from ./Modules/getbuildinfo.c:6:
In file included from ./Include/internal/pycore_pylifecycle.h:11:
./Include/internal/pycore_runtime.h:322:40: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'uint64_t *' (aka 'unsigned long long *') [-Wincompatible-pointer-types]
_Py_atomic_store_ulong_relaxed(&runtime->_finalizing_id,
^~~~~~~~~~~~~~~~~~~~~~~~
./Include/cpython/pyatomic_gcc.h:460:43: note: passing argument to parameter 'obj' here
_Py_atomic_store_uint64_relaxed(uint64_t *obj, uint64_t value)
^
6 warnings generated.
Bug report
I am working on macos sonoma
Linked PRs