Get:
mod_python.c: In function ‘python_init’:
mod_python.c:750:22: warning: format ‘%s’ expects argument of type ‘char *’, but argument 8 has type ‘wchar_t *’ {aka ‘int *’} [-Wformat=]
750 | "python_init: Python executable found '%s'.",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
751 | Py_GetProgramFullPath());
and
_apachemodule.c:856:5: error: too few arguments to function ‘_PyImport_FixupExtensionObject’ 856 | _PyImport_FixupExtensionObject(m, name, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.7m/Python.h:145, from /usr/src/mod_python/src/include/mod_python.h:46, from _apachemodule.c:25: /usr/include/python3.7m/import.h:117:17: note: declared here 117 | PyAPI_FUNC(int) _PyImport_FixupExtensionObject(PyObject*, PyObject *, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get:
mod_python.c: In function ‘python_init’:
mod_python.c:750:22: warning: format ‘%s’ expects argument of type ‘char *’, but argument 8 has type ‘wchar_t *’ {aka ‘int *’} [-Wformat=]
750 | "python_init: Python executable found '%s'.",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
751 | Py_GetProgramFullPath());
and
_apachemodule.c:856:5: error: too few arguments to function ‘_PyImport_FixupExtensionObject’ 856 | _PyImport_FixupExtensionObject(m, name, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.7m/Python.h:145, from /usr/src/mod_python/src/include/mod_python.h:46, from _apachemodule.c:25: /usr/include/python3.7m/import.h:117:17: note: declared here 117 | PyAPI_FUNC(int) _PyImport_FixupExtensionObject(PyObject*, PyObject *, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~