8000 Error when building against cpython 3.8-dev · Issue #2721 · cython/cython · GitHub
[go: up one dir, main page]

Skip to content 8000
Error when building against cpython 3.8-dev #2721
@jnwatson

Description

@jnwatson

There's no urgency since 3.8 isn't going to be released for a while.

/home/nic/src/cython/Cython/Plex/Scanners.c:6643:104: warning: implicit declaration of function ‘_PyGC_FINALIZED’; did you mean ‘_Py_IS_ALIGNED’? [-Wimplicit-function-declaration]
   if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {

The missing symbol (actually a manifest constant) is _PyGC_FINALIZED.

The Python devs have been reorganizing the API to separate the officlal API from the internal one. That manifest constant definition is now protected by #if defined(Py_BUILD_CORE) || defined(Py_BUILD_CORE_BUILTIN) in objimpl.h

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

      0