Skip to content

Instantly share code, notes, and snippets.

@johnfelipe
Created August 8, 2022 19:31
Show Gist options
  • Save johnfelipe/d4f5cde1741020c6d047a7730c02e89a to your computer and use it in GitHub Desktop.
Save johnfelipe/d4f5cde1741020c6d047a7730c02e89a to your computer and use it in GitHub Desktop.
Installed /usr/local/lib/python3.8/dist-packages/numpy-1.23.1-py3.8-linux-x86_64.egg
Searching for Fuzzy==1.0
Reading https://pypi.org/simple/Fuzzy/
Downloading https://files.pythonhosted.org/packages/9f/9a/0acba29e3b9d7e51561c7377599110472c939d52a9e3d7fccc528838ede0/Fuzzy-1.0.tar.gz#sha256=73d126b277f59486e91f6be8e4578a5d462a73471f816ff6c488fd43ce2be708
Best match: Fuzzy 1.0
Processing Fuzzy-1.0.tar.gz
Writing /tmp/easy_install-3_m1yb5o/Fuzzy-1.0/setup.cfg
Running Fuzzy-1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-3_m1yb5o/Fuzzy-1.0/egg-dist-tmp-vdxi5b61
src/fuzzy.c: In function ‘__pyx_f_5fuzzy_nysiis’:
src/fuzzy.c:395:15: warning: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Wimplicit-function-declaration]
395 | __pyx_2 = PyInt_FromLong(0); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; goto __pyx_L1;}
| ^~~~~~~~~~~~~~
| PyLong_FromLong
src/fuzzy.c:395:13: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
395 | __pyx_2 = PyInt_FromLong(0); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; goto __pyx_L1;}
| ^
src/fuzzy.c:403:15: warning: implicit declaration of function ‘PyString_AsString’ [-Wimplicit-function-declaration]
403 | __pyx_7 = PyString_AsString(__pyx_v_foo); if (!__pyx_7) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 94; goto __pyx_L1;}
| ^~~~~~~~~~~~~~~~~
src/fuzzy.c:403:13: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
403 | __pyx_7 = PyString_AsString(__pyx_v_foo); if (!__pyx_7) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 94; goto __pyx_L1;}
| ^
src/fuzzy.c:416:15: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
416 | __pyx_3 = PyInt_FromLong((__pyx_v_i - 1)); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 99; goto __pyx_L1;}
| ^
src/fuzzy.c:431:7: warning: implicit declaration of function ‘PyObject_Cmp’; did you mean ‘PyObject_Type’? [-Wimplicit-function-declaration]
431 | if (PyObject_Cmp(__pyx_1, __pyx_n_MAC, &__pyx_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 105; goto __pyx_L1;}
| ^~~~~~~~~~~~
| PyObject_Type
src/fuzzy.c:482:17: warning: implicit declaration of function ‘PyString_FromString’; did you mean ‘PyLong_FromString’? [-Wimplicit-function-declaration]
482 | __pyx_2 = PyString_FromString(__pyx_v_suffix); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 118; goto __pyx_L1;}
| ^~~~~~~~~~~~~~~~~~~
| PyLong_FromString
src/fuzzy.c:482:15: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
482 | __pyx_2 = PyString_FromString(__pyx_v_suffix); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 118; goto __pyx_L1;}
| ^
src/fuzzy.c:491:15: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
491 | __pyx_7 = PyString_AsString(__pyx_v_y); if (!__pyx_7) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 119; goto __pyx_L1;}
| ^
src/fuzzy.c:506:11: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
506 | __pyx_2 = PyString_FromString(__pyx_v_suffix); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 123; goto __pyx_L1;}
| ^
src/fuzzy.c:534:13: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
534 | __pyx_2 = PyInt_FromLong((__pyx_v_stop - __pyx_v_i)); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; goto __pyx_L1;}
| ^
src/fuzzy.c:545:13: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
545 | __pyx_1 = PyInt_FromLong(3); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 135; goto __pyx_L1;}
| ^
src/fuzzy.c:546:13: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
546 | __pyx_3 = PyInt_FromLong(2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 135; goto __pyx_L1;}
| ^
src/fuzzy.c:547:13: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
547 | __pyx_2 = PyInt_FromLong(1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 135; goto __pyx_L1;}
| ^
src/fuzzy.c:571:17: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
571 | __pyx_2 = PyInt_FromLong(__pyx_v_i); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; goto __pyx_L1;}
| ^
src/fuzzy.c:574:19: warning: implicit declaration of function ‘PyInt_AsSsize_t’; did you mean ‘PyLong_AsSsize_t’? [-Wimplicit-function-declaration]
574 | __pyx_5 = PyInt_AsSsize_t(__pyx_8); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; goto __pyx_L1;}
| ^~~~~~~~~~~~~~~
| PyLong_AsSsize_t
src/fuzzy.c:664:15: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
664 | __pyx_1 = PyInt_FromLong(__pyx_v_i); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 155; goto __pyx_L1;}
| ^
src/fuzzy.c:667:17: warning: implicit declaration of function ‘PyInt_AsLong’; did you mean ‘PyLong_AsLong’? [-Wimplicit-function-declaration]
667 | __pyx_6 = PyInt_AsLong(__pyx_2); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 155; goto __pyx_L1;}
| ^~~~~~~~~~~~
| PyLong_AsLong
src/fuzzy.c:676:15: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
676 | __pyx_3 = PyInt_FromLong(__pyx_v_i); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 157; goto __pyx_L1;}
| ^
src/fuzzy.c:701:15: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
701 | __pyx_1 = PyInt_FromLong((__pyx_v_stop - 1)); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 164; goto __pyx_L1;}
| ^
src/fuzzy.c:712:11: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
712 | __pyx_2 = PyString_FromString(__pyx_v_first); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 168; goto __pyx_L1;}
| ^
src/fuzzy.c:718:15: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
718 | __pyx_3 = PyString_FromString(__pyx_v_first); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 170; goto __pyx_L1;}
| ^
src/fuzzy.c:719:15: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
719 | __pyx_1 = PyInt_FromLong(0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 170; goto __pyx_L1;}
| ^
src/fuzzy.c:726:15: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
726 | __pyx_8 = PyString_FromString(__pyx_v_first); if (!__pyx_8) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 172; goto __pyx_L1;}
| ^
src/fuzzy.c: In function ‘__pyx_f_5fuzzy_7Soundex___call__’:
src/fuzzy.c:880:11: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
880 | __pyx_1 = PyString_AsString(__pyx_v_s); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 204; goto __pyx_L1;}
| ^
src/fuzzy.c:957:11: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
957 | __pyx_3 = PyString_FromString(__pyx_v_out); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; goto __pyx_L1;}
| ^
src/fuzzy.c: In function ‘__pyx_f_5fuzzy_10DMetaphone___init__’:
src/fuzzy.c:999:13: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
999 | __pyx_1 = PyInt_FromLong(99999); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 237; goto __pyx_L1;}
| ^
src/fuzzy.c: In function ‘__pyx_f_5fuzzy_10DMetaphone___call__’:
src/fuzzy.c:1041:11: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1041 | __pyx_1 = PyString_AsString(__pyx_v_s); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 243; goto __pyx_L1;}
| ^
src/fuzzy.c:1048:11: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1048 | __pyx_2 = PyString_FromString((__pyx_v_out[0])); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; goto __pyx_L1;}
| ^
src/fuzzy.c:1054:11: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1054 | __pyx_2 = PyString_FromString((__pyx_v_out[1])); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 246; goto __pyx_L1;}
| ^
src/fuzzy.c: At top level:
src/fuzzy.c:1192:3: warning: excess elements in struct initializer
1192 | 0, /*nb_inplace_floor_divide*/
| ^
src/fuzzy.c:1192:3: note: (near initialization for ‘__pyx_tp_as_number_Soundex’)
src/fuzzy.c:1193:3: warning: excess elements in struct initializer
1193 | 0, /*nb_inplace_true_divide*/
| ^
src/fuzzy.c:1193:3: note: (near initialization for ‘__pyx_tp_as_number_Soundex’)
src/fuzzy.c:1221:3: warning: excess elements in struct initializer
1221 | 0, /*bf_getsegcount*/
| ^
src/fuzzy.c:1221:3: note: (near initialization for ‘__pyx_tp_as_buffer_Soundex’)
src/fuzzy.c:1222:3: warning: excess elements in struct initializer
1222 | 0, /*bf_getcharbuffer*/
| ^
src/fuzzy.c:1222:3: note: (near initialization for ‘__pyx_tp_as_buffer_Soundex’)
src/fuzzy.c:1225:42: warning: missing braces around initializer [-Wmissing-braces]
1225 | PyTypeObject __pyx_type_5fuzzy_Soundex = {
| ^
src/fuzzy.c:1228:3: warning: initialization of ‘long int’ from ‘char *’ makes integer from pointer without a cast [-Wint-conversion]
1228 | "fuzzy.Soundex", /*tp_name*/
| ^~~~~~~~~~~~~~~
src/fuzzy.c:1228:3: note: (near initialization for ‘__pyx_type_5fuzzy_Soundex.tp_basicsize’)
src/fuzzy.c:1231:3: warning: initialization of ‘long int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Wint-conversion]
1231 | __pyx_tp_dealloc_5fuzzy_Soundex, /*tp_dealloc*/
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/fuzzy.c:1231:3: note: (near initialization for ‘__pyx_type_5fuzzy_Soundex.tp_vectorcall_offset’)
src/fuzzy.c:1237:3: warning: initialization of ‘PySequenceMethods *’ {aka ‘struct <anonymous> *’} from incompatible pointer type ‘PyNumberMethods *’ {aka ‘struct <anonymous> *’} [-Wincompatible-pointer-types]
1237 | &__pyx_tp_as_number_Soundex, /*tp_as_number*/
| ^
src/fuzzy.c:1237:3: note: (near initialization for ‘__pyx_type_5fuzzy_Soundex.tp_as_sequence’)
src/fuzzy.c:1238:3: warning: initialization of ‘PyMappingMethods *’ {aka ‘struct <anonymous> *’} from incompatible pointer type ‘PySequenceMethods *’ {aka ‘struct <anonymous> *’} [-Wincompatible-pointer-types]
1238 | &__pyx_tp_as_sequence_Soundex, /*tp_as_sequence*/
| ^
src/fuzzy.c:1238:3: note: (near initialization for ‘__pyx_type_5fuzzy_Soundex.tp_as_mapping’)
src/fuzzy.c:1239:3: warning: initialization of ‘Py_hash_t (*)(PyObject *)’ {aka ‘long int (*)(struct _object *)’} from incompatible pointer type ‘PyMappingMethods *’ {aka ‘struct <anonymous> *’} [-Wincompatible-pointer-types]
1239 | &__pyx_tp_as_mapping_Soundex, /*tp_as_mapping*/
| ^
src/fuzzy.c:1239:3: note: (near initialization for ‘__pyx_type_5fuzzy_Soundex.tp_hash’)
src/fuzzy.c:1241:3: warning: initialization of ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} from incompatible pointer type ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} [-Wincompatible-pointer-types]
1241 | __pyx_f_5fuzzy_7Soundex___call__, /*tp_call*/
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/fuzzy.c:1241:3: note: (near initialization for ‘__pyx_type_5fuzzy_Soundex.tp_str’)
src/fuzzy.c:1245:3: warning: initialization of ‘long unsigned int’ from ‘PyBufferProcs *’ {aka ‘struct <anonymous> *’} makes integer from pointer without a cast [-Wint-conversion]
1245 | &__pyx_tp_as_buffer_Soundex, /*tp_as_buffer*/
| ^
src/fuzzy.c:1245:3: note: (near initialization for ‘__pyx_type_5fuzzy_Soundex.tp_flags’)
src/fuzzy.c:1246:22: error: ‘Py_TPFLAGS_CHECKTYPES’ undeclared here (not in a function); did you mean ‘Py_TPFLAGS_HEAPTYPE’?
1246 | Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE, /*tp_flags*/
| ^~~~~~~~~~~~~~~~~~~~~
| Py_TPFLAGS_HEAPTYPE
src/fuzzy.c:1254:3: warning: initialization of ‘struct PyMemberDef *’ from incompatible pointer type ‘struct PyMethodDef *’ [-Wincompatible-pointer-types]
1254 | __pyx_methods_5fuzzy_Soundex, /*tp_methods*/
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/fuzzy.c:1254:3: note: (near initialization for ‘__pyx_type_5fuzzy_Soundex.tp_members’)
src/fuzzy.c:1262:3: warning: initialization of ‘PyObject * (*)(struct _typeobject *, Py_ssize_t)’ {aka ‘struct _object * (*)(struct _typeobject *, long int)’} from incompatible pointer type ‘int (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘int (*)(struct _object *, struct _object *, struct _object *)’} [-Wincompatible-pointer-types]
1262 | __pyx_f_5fuzzy_7Soundex___init__, /*tp_init*/
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/fuzzy.c:1262:3: note: (near initialization for ‘__pyx_type_5fuzzy_Soundex.tp_alloc’)
src/fuzzy.c:1264:3: warning: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘PyObject * (*)(PyTypeObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _typeobject *, struct _object *, struct _object *)’} [-Wincompatible-pointer-types]
1264 | __pyx_tp_new_5fuzzy_Soundex, /*tp_new*/
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/fuzzy.c:1264:3: note: (near initialization for ‘__pyx_type_5fuzzy_Soundex.tp_free’)
src/fuzzy.c:1225:42: warning: missing braces around initializer [-Wmissing-braces]
1225 | PyTypeObject __pyx_type_5fuzzy_Soundex = {
| ^
src/fuzzy.c:1325:3: warning: excess elements in struct initializer
1325 | 0, /*nb_inplace_floor_divide*/
| ^
src/fuzzy.c:1325:3: note: (near initialization for ‘__pyx_tp_as_number_DMetaphone’)
src/fuzzy.c:1326:3: warning: excess elements in struct initializer
1326 | 0, /*nb_inplace_true_divide*/
| ^
src/fuzzy.c:1326:3: note: (near initialization for ‘__pyx_tp_as_number_DMetaphone’)
src/fuzzy.c:1354:3: warning: excess elements in struct initializer
1354 | 0, /*bf_getsegcount*/
| ^
src/fuzzy.c:1354:3: note: (near initialization for ‘__pyx_tp_as_buffer_DMetaphone’)
src/fuzzy.c:1355:3: warning: excess elements in struct initializer
1355 | 0, /*bf_getcharbuffer*/
| ^
src/fuzzy.c:1355:3: note: (near initialization for ‘__pyx_tp_as_buffer_DMetaphone’)
src/fuzzy.c:1358:45: warning: missing braces around initializer [-Wmissing-braces]
1358 | PyTypeObject __pyx_type_5fuzzy_DMetaphone = {
| ^
src/fuzzy.c:1361:3: warning: initialization of ‘long int’ from ‘char *’ makes integer from pointer without a cast [-Wint-conversion]
1361 | "fuzzy.DMetaphone", /*tp_name*/
| ^~~~~~~~~~~~~~~~~~
src/fuzzy.c:1361:3: note: (near initialization for ‘__pyx_type_5fuzzy_DMetaphone.tp_basicsize’)
src/fuzzy.c:1364:3: warning: initialization of ‘long int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Wint-conversion]
1364 | __pyx_tp_dealloc_5fuzzy_DMetaphone, /*tp_dealloc*/
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/fuzzy.c:1364:3: note: (near initialization for ‘__pyx_type_5fuzzy_DMetaphone.tp_vectorcall_offset’)
src/fuzzy.c:1370:3: warning: initialization of ‘PySequenceMethods *’ {aka ‘struct <anonymous> *’} from incompatible pointer type ‘PyNumberMethods *’ {aka ‘struct <anonymous> *’} [-Wincompatible-pointer-types]
1370 | &__pyx_tp_as_number_DMetaphone, /*tp_as_number*/
| ^
src/fuzzy.c:1370:3: note: (near initialization for ‘__pyx_type_5fuzzy_DMetaphone.tp_as_sequence’)
src/fuzzy.c:1371:3: warning: initialization of ‘PyMappingMethods *’ {aka ‘struct <anonymous> *’} from incompatible pointer type ‘PySequenceMethods *’ {aka ‘struct <anonymous> *’} [-Wincompatible-pointer-types]
1371 | &__pyx_tp_as_sequence_DMetaphone, /*tp_as_sequence*/
| ^
src/fuzzy.c:1371:3: note: (near initialization for ‘__pyx_type_5fuzzy_DMetaphone.tp_as_mapping’)
src/fuzzy.c:1372:3: warning: initialization of ‘Py_hash_t (*)(PyObject *)’ {aka ‘long int (*)(struct _object *)’} from incompatible pointer type ‘PyMappingMethods *’ {aka ‘struct <anonymous> *’} [-Wincompatible-pointer-types]
1372 | &__pyx_tp_as_mapping_DMetaphone, /*tp_as_mapping*/
| ^
src/fuzzy.c:1372:3: note: (near initialization for ‘__pyx_type_5fuzzy_DMetaphone.tp_hash’)
src/fuzzy.c:1374:3: warning: initialization of ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} from incompatible pointer type ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} [-Wincompatible-pointer-types]
1374 | __pyx_f_5fuzzy_10DMetaphone___call__, /*tp_call*/
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/fuzzy.c:1374:3: note: (near initialization for ‘__pyx_type_5fuzzy_DMetaphone.tp_str’)
src/fuzzy.c:1378:3: warning: initialization of ‘long unsigned int’ from ‘PyBufferProcs *’ {aka ‘struct <anonymous> *’} makes integer from pointer without a cast [-Wint-conversion]
1378 | &__pyx_tp_as_buffer_DMetaphone, /*tp_as_buffer*/
| ^
src/fuzzy.c:1378:3: note: (near initialization for ‘__pyx_type_5fuzzy_DMetaphone.tp_flags’)
src/fuzzy.c:1387:3: warning: initialization of ‘struct PyMemberDef *’ from incompatible pointer type ‘struct PyMethodDef *’ [-Wincompatible-pointer-types]
1387 | __pyx_methods_5fuzzy_DMetaphone, /*tp_methods*/
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/fuzzy.c:1387:3: note: (near initialization for ‘__pyx_type_5fuzzy_DMetaphone.tp_members’)
src/fuzzy.c:1395:3: warning: initialization of ‘PyObject * (*)(struct _typeobject *, Py_ssize_t)’ {aka ‘struct _object * (*)(struct _typeobject *, long int)’} from incompatible pointer type ‘int (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘int (*)(struct _object *, struct _object *, struct _object *)’} [-Wincompatible-pointer-types]
1395 | __pyx_f_5fuzzy_10DMetaphone___init__, /*tp_init*/
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/fuzzy.c:1395:3: note: (near initialization for ‘__pyx_type_5fuzzy_DMetaphone.tp_alloc’)
src/fuzzy.c:1397:3: warning: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘PyObject * (*)(PyTypeObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _typeobject *, struct _object *, struct _object *)’} [-Wincompatible-pointer-types]
1397 | __pyx_tp_new_5fuzzy_DMetaphone, /*tp_new*/
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/fuzzy.c:1397:3: note: (near initialization for ‘__pyx_type_5fuzzy_DMetaphone.tp_free’)
src/fuzzy.c:1358:45: warning: missing braces around initializer [-Wmissing-braces]
1358 | PyTypeObject __pyx_type_5fuzzy_DMetaphone = {
| ^
src/fuzzy.c: In function ‘initfuzzy’:
src/fuzzy.c:1420:13: warning: implicit declaration of function ‘Py_InitModule4’ [-Wimplicit-function-declaration]
1420 | __pyx_m = Py_InitModule4("fuzzy", __pyx_methods, 0, 0, PYTHON_API_VERSION);
| ^~~~~~~~~~~~~~
src/fuzzy.c:1420:11: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1420 | __pyx_m = Py_InitModule4("fuzzy", __pyx_methods, 0, 0, PYTHON_API_VERSION);
| ^
src/fuzzy.c:1521:11: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1521 | __pyx_2 = PyInt_FromLong(0); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 236; goto __pyx_L1;}
| ^
src/fuzzy.c:1526:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
1526 | return;
| ^~~~~~
src/fuzzy.c:1415:16: note: declared here
1415 | PyMODINIT_FUNC initfuzzy(void) {
| ^~~~~~~~~
src/fuzzy.c: In function ‘__Pyx_InitStrings’:
src/fuzzy.c:1554:17: warning: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [-Wimplicit-function-declaration]
1554 | *t->p = PyString_FromStringAndSize(t->s, t->n - 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| PyBytes_FromStringAndSize
src/fuzzy.c:1554:15: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1554 | *t->p = PyString_FromStringAndSize(t->s, t->n - 1);
| ^
src/fuzzy.c:1558:13: warning: implicit declaration of function ‘PyString_InternInPlace’; did you mean ‘PyUnicode_InternInPlace’? [-Wimplicit-function-declaration]
1558 | PyString_InternInPlace(t->p);
| ^~~~~~~~~~~~~~~~~~~~~~
| PyUnicode_InternInPlace
src/fuzzy.c: In function ‘__Pyx_AddTraceback’:
src/fuzzy.c:1610:16: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1610 | py_srcfile = PyString_FromString(__pyx_filename);
| ^
src/fuzzy.c:1612:17: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1612 | py_funcname = PyString_FromString(funcname);
| ^
src/fuzzy.c:1618:18: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1618 | empty_string = PyString_FromString("");
| ^
src/fuzzy.c:1625:9: warning: passing argument 5 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
1625 | empty_string, /*PyObject *code,*/
| ^~~~~~~~~~~~
| |
| PyObject * {aka struct _object *}
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from src/fuzzy.c:4:
/usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
| ^~~~~~~~~~
src/fuzzy.c:1633:9: warning: passing argument 13 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
1633 | __pyx_lineno, /*int firstlineno,*/
| ^~~~~~~~~~~~
| |
| int
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from src/fuzzy.c:4:
/usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
| ^~~~~~~~~~
src/fuzzy.c:1634:9: warning: passing argument 14 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
1634 | empty_string /*PyObject *lnotab*/
| ^~~~~~~~~~~~
| |
| PyObject * {aka struct _object *}
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from src/fuzzy.c:4:
/usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
| ^~~~~~~~~~
src/fuzzy.c:1620:15: error: too few arguments to function ‘PyCode_New’
1620 | py_code = PyCode_New(
| ^~~~~~~~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from src/fuzzy.c:4:
/usr/include/python3.8/code.h:122:28: note: declared here
122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
| ^~~~~~~~~~
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment