GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Compiler warnings in _iomodule.c · Issue #103617 · python/cpython

Compiler warnings in _iomodule.c #103617

New issue
Copy link
New issue
Copy link
Closed
#103618
Closed
Compiler warnings in _iomodule.c#103617
#103618
Copy link
Assignees
erlend-aasland
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@erlend-aasland
erlend-aasland
opened on Apr 18, 2023
Issue body actions

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

  • gh-103617: Fix compiler warning in _iomodule.c #103618

Activity

  1. erlend-aasland
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Apr 18, 2023
  2. erlend-aasland
    self-assigned this
    on Apr 18, 2023
  3. erlend-aasland
    added 2 commits that reference this issue on Apr 18, 2023

    pythongh-103617: Fix compiler warning in _iomodule.c

    c5df726

    gh-103617: Fix compiler warning in _iomodule.c (#103618)

    ffdbfe1
  4. erlend-aasland
    linked a pull request that will close this issuegh-103617: Fix compiler warning in _iomodule.c #103618on Apr 19, 2023
  5. erlend-aasland
    closed this as completedon Apr 19, 2023
  6. carljm
    added a commit that references this issue on Apr 20, 2023

    Merge branch 'main' into superopt

    5c0a21c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @erlend-aasland
    erlend-aasland

Labels

type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.