Skip to content

python3 3.13 builderror #471

@ohquait

Description

@ohquait
 In file included from /usr/include/python3.13/Python.h:125:
 /usr/include/python3.13/ceval.h:114:37: note: declared here
   114 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
          |                                   ^~~~~~~~~~~~~~~~~~
 rtaudiomodule.cpp:699:19: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
   699 |         Py_INCREF(&RtAudio_type);
 /usr/include/python3.13/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
    19 | #define _Py_CAST(type, expr) ((type)(expr))
         |                                                            ^~~~
 /usr/include/python3.13/object.h:846:35: note: in expansion of macro ‘_PyObject_CAST’
   846 | #  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
          |                                                           ^~~~~~~~~~~~~~
 rtaudiomodule.cpp:699:9: note: in expansion of macro ‘Py_INCREF’
   699 |         Py_INCREF(&RtAudio_type);
          |         ^~~~~~~~~
 rtaudiomodule.cpp:700:59: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
   700 |         PyModule_AddObject(module, "RtAudio", (PyObject *)&RtAudio_type);
          |                                                                                                ^~~~~~~~~~~~~
 error: command '/usr/bin/g++' failed with exit code 1
 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions