Skip to content

Compiler warnings in _iomodule.c #103617

Description

@erlend-aasland

I'm getting a compiler warning for _iomodule.c:

./Modules/_io/_iomodule.c:649:15: warning: incompatible function pointer types initializing 'freefunc' (aka 'void (*)(void *)') with an expression of type 'void (PyObject *)' (aka 'void (struct _object *)') [-Wincompatible-function-pointer-types]
    .m_free = iomodule_free,
              ^~~~~~~~~~~~~

Linked PRs

Activity

  1. added 2 commits that reference this issue on Apr 18, 2023
  2. added a commit that references this issue on Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

type-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions