[MacPorts] #64966: py38-pypostal @1.1: error: implicit declaration of function 'PyInt_FromLong' is invalid in C99

MacPorts noreply at macports.org
Fri Apr 8 20:37:50 UTC 2022


#64966: py38-pypostal @1.1: error: implicit declaration of function
'PyInt_FromLong' is invalid in C99
------------------------+-------------------------
 Reporter:  ryandesign  |      Owner:  amake
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.2
 Keywords:              |       Port:  py-pypostal
------------------------+-------------------------
 https://build.macports.org/builders/ports-
 11_arm64-builder/builds/50540/steps/install-port/logs/stdio
 {{{
 postal/pynormalize.c:99:35: error: implicit declaration of function
 'PyInt_FromLong' is invalid in C99 [-Werror,-Wimplicit-function-
 declaration]
         PyObject *py_token_type =
 PyInt_FromLong(normalized_token.token.type);
                                   ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64966>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list