Skip to content

Invalid function cast warnings with gcc 8 for METH_NOARGS #77193

@siddhesh

Description

@siddhesh
mannequin
BPO 33012
Nosy @terryjreedy, @gpshead, @vstinner, @pmp-p, @xdegaye, @vadmium, @serhiy-storchaka, @ztane, @grimreaper, @siddhesh, @yan12125, @stratakis, @miss-islington, @cryptomilk
PRs
  • bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS #6030
  • bpo-33012: Fix invalid function casts for long_long. #6652
  • bpo-33012: Fix invalid function cast warnings with gcc 8 #6748
  • bpo-33012: Fix invalid function cast warnings with gcc 8 #6749
  • [3.7] bpo-33012: Add -Wno-cast-function-type for gcc 8. #6757
  • [3.6] bpo-33012: Add -Wno-cast-function-type for gcc 8. (GH-6757) #7112
  • bpo-33012: Fix signatures of METH_NOARGS funstions. #10736
  • bpo-33012: Add _Py_CAST_FUNC() to cast function ptr #10744
  • [3.7] bpo-33012: Fix signatures of METH_NOARGS functions. (GH-10736). #10748
  • [3.6] bpo-33012: Fix signatures of METH_NOARGS functions. (GH-10736) (GH-10748) #10750
  • bpo-33012: Fix more invalid function cast warnings with gcc 8. #10751
  • [3.7] bpo-33012: Fix more invalid function cast warnings with gcc 8. (GH-10751) #10795
  • [3.6] bpo-33012: Fix more invalid function cast warnings with gcc 8. (GH-10751) #10796
  • bpo-33012: Fix compilation warnings for memoryview.tobytes and _collections._tuplegetter.__reduce__ #12179
  • bpo-37337: Fix a GCC 9 warning in Objects/descrobject.c #14814
  • Dependencies
  • bpo-33031: Questionable code in OrderedDict definition
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2018-11-27.19:45:30.755>
    created_at = <Date 2018-03-06.11:18:12.991>
    labels = ['3.8', 'build', '3.7']
    title = 'Invalid function cast warnings with gcc 8 for METH_NOARGS'
    updated_at = <Date 2020-03-12.12:38:56.761>
    user = 'https://github.com/siddhesh'

    bugs.python.org fields:

    activity = <Date 2020-03-12.12:38:56.761>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-11-27.19:45:30.755>
    closer = 'serhiy.storchaka'
    components = ['Build']
    creation = <Date 2018-03-06.11:18:12.991>
    creator = 'siddhesh'
    dependencies = ['33031']
    files = []
    hgrepos = []
    issue_num = 33012
    keywords = ['patch']
    message_count = 49.0
    messages = ['313317', '313319', '313320', '313875', '313879', '313886', '313889', '313890', '314795', '314962', '315123', '315909', '315937', '315938', '315948', '316355', '316356', '316357', '316372', '317668', '317670', '317742', '317747', '317794', '317823', '317825', '317826', '317853', '317854', '318538', '326181', '327754', '328410', '330498', '330505', '330506', '330526', '330545', '330549', '330551', '330552', '330690', '330694', '337197', '337199', '341153', '341155', '341156', '364015']
    nosy_count = 15.0
    nosy_names = ['terry.reedy', 'gregory.p.smith', 'vstinner', 'pmpp', 'xdegaye', 'martin.panter', 'serhiy.storchaka', 'ztane', 'eitan.adler', 'siddhesh', 'yan12125', 'cstratak', 'miss-islington', 'resmord', 'asn']
    pr_nums = ['6030', '6652', '6748', '6749', '6757', '7112', '10736', '10744', '10748', '10750', '10751', '10795', '10796', '12179', '14814']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'compile error'
    url = 'https://bugs.python.org/issue33012'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifebuildThe build process and cross-build

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions