Task #51906 - fixed.err

back to task #51906
download
Error: COMPILER_WARNING (CWE-477):
dbus-python-1.3.2/dbus_bindings/conn.c: scope_hint: In function 'DBusPyConnection_ExistingFromDBusConnection'
dbus-python-1.3.2/dbus_bindings/conn.c:161:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated
#  161 |         self = PyWeakref_GetObject(ref);   /* still a borrowed ref */
#      |         ^~~~
/usr/include/python3.13/Python.h:113: included_from: Included from here.
dbus-python-1.3.2/dbus_bindings/dbus_bindings-internal.h:34: included_from: Included from here.
dbus-python-1.3.2/dbus_bindings/conn.c:29: included_from: Included from here.
/usr/include/python3.13/weakrefobject.h:30:44: note: declared here
#   30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref);
#      |                                            ^~~~~~~~~~~~~~~~~~~
#  159|       if (ref) {
#  160|           DBG("(DBusConnection *)%p has weak reference at %p", conn, ref);
#  161|->         self = PyWeakref_GetObject(ref);   /* still a borrowed ref */
#  162|           if (self && self != Py_None && DBusPyConnection_Check(self)) {
#  163|               DBG("(DBusConnection *)%p has weak reference at %p pointing to %p",

Error: COMPILER_WARNING (CWE-477):
dbus-python-1.3.2/dbus_bindings/conn.c:161:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated
#  159|       if (ref) {
#  160|           DBG("(DBusConnection *)%p has weak reference at %p", conn, ref);
#  161|->         self = PyWeakref_GetObject(ref);   /* still a borrowed ref */
#  162|           if (self && self != Py_None && DBusPyConnection_Check(self)) {
#  163|               DBG("(DBusConnection *)%p has weak reference at %p pointing to %p",

Error: COMPILER_WARNING (CWE-477):
dbus-python-1.3.2/dbus_bindings/conn.c: scope_hint: In function 'DBusPyConnection_NewConsumingDBusConnection'
dbus-python-1.3.2/dbus_bindings/conn.c:201:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated
#  201 |         self = (Connection *)PyWeakref_GetObject(ref);
#      |         ^~~~
/usr/include/python3.13/weakrefobject.h:30:44: note: declared here
#   30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref);
#      |                                            ^~~~~~~~~~~~~~~~~~~
#  199|       Py_END_ALLOW_THREADS
#  200|       if (ref) {
#  201|->         self = (Connection *)PyWeakref_GetObject(ref);
#  202|           ref = NULL;
#  203|           if (self && (PyObject *)self != Py_None) {

Error: COMPILER_WARNING (CWE-477):
dbus-python-1.3.2/dbus_bindings/conn.c:201:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated
#  199|       Py_END_ALLOW_THREADS
#  200|       if (ref) {
#  201|->         self = (Connection *)PyWeakref_GetObject(ref);
#  202|           ref = NULL;
#  203|           if (self && (PyObject *)self != Py_None) {

Error: COMPILER_WARNING (CWE-477):
dbus-python-1.3.2/dbus_bindings/server.c: scope_hint: In function 'DBusPyServer_ExistingFromDBusServer'
dbus-python-1.3.2/dbus_bindings/server.c:170:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated
#  170 |         self = PyWeakref_GetObject(ref);   /* still a borrowed ref */
#      |         ^~~~
/usr/include/python3.13/Python.h:113: included_from: Included from here.
dbus-python-1.3.2/dbus_bindings/dbus_bindings-internal.h:34: included_from: Included from here.
dbus-python-1.3.2/dbus_bindings/server.c:30: included_from: Included from here.
/usr/include/python3.13/weakrefobject.h:30:44: note: declared here
#   30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref);
#      |                                            ^~~~~~~~~~~~~~~~~~~
#  168|       if (ref) {
#  169|           DBG("(DBusServer *)%p has weak reference at %p", server, ref);
#  170|->         self = PyWeakref_GetObject(ref);   /* still a borrowed ref */
#  171|           if (self && self != Py_None && DBusPyServer_Check(self)) {
#  172|               DBG("(DBusServer *)%p has weak reference at %p pointing to %p",

Error: COMPILER_WARNING (CWE-477):
dbus-python-1.3.2/dbus_bindings/server.c:170:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated
#  168|       if (ref) {
#  169|           DBG("(DBusServer *)%p has weak reference at %p", server, ref);
#  170|->         self = PyWeakref_GetObject(ref);   /* still a borrowed ref */
#  171|           if (self && self != Py_None && DBusPyServer_Check(self)) {
#  172|               DBG("(DBusServer *)%p has weak reference at %p pointing to %p",

Error: COMPILER_WARNING (CWE-477):
dbus-python-1.3.2/dbus_bindings/server.c: scope_hint: In function 'DBusPyServer_NewConsumingDBusServer'
dbus-python-1.3.2/dbus_bindings/server.c:265:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated
#  265 |         self = (Server *)PyWeakref_GetObject(ref);
#      |         ^~~~
/usr/include/python3.13/weakrefobject.h:30:44: note: declared here
#   30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref);
#      |                                            ^~~~~~~~~~~~~~~~~~~
#  263|       Py_END_ALLOW_THREADS
#  264|       if (ref) {
#  265|->         self = (Server *)PyWeakref_GetObject(ref);
#  266|           ref = NULL;
#  267|           if (self && (PyObject *)self != Py_None) {

Error: COMPILER_WARNING (CWE-477):
dbus-python-1.3.2/dbus_bindings/server.c:265:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated
#  263|       Py_END_ALLOW_THREADS
#  264|       if (ref) {
#  265|->         self = (Server *)PyWeakref_GetObject(ref);
#  266|           ref = NULL;
#  267|           if (self && (PyObject *)self != Py_None) {