tuhaihe commented on issue #1201:
URL: https://github.com/apache/cloudberry/issues/1201#issuecomment-3061108269
Hi @yjhjstz thanks.
After installing Cython and wheel, no errors were returned. Only some
warnings:
```
In file included from yaml/_yaml.c:750:
yaml/_yaml.h:10: warning: "PyString_CheckExact" redefined
10 | #define PyString_CheckExact PyBytes_CheckExact
|
yaml/_yaml.c:630: note: this is the location of the previous definition
630 | #define PyString_CheckExact PyUnicode_CheckExact
|
yaml/_yaml.c: In function ‘__pyx_pf_4yaml_5_yaml_get_version_string’:
yaml/_yaml.c:2068:17: warning: assignment discards ‘const’ qualifier from
pointer target type [-Wdiscarded-qualifiers]
2068 | __pyx_v_value = yaml_get_version_string();
| ^
yaml/_yaml.c: In function ‘__pyx_pf_4yaml_5_yaml_7CParser___init__’:
yaml/_yaml.c:3598:52: warning: passing argument 2 of ‘yaml_parser_set_input’
from incompatible pointer type [-Wincompatible-pointer-types]
3598 | yaml_parser_set_input((&__pyx_v_self->parser),
__pyx_f_4yaml_5_yaml_input_handler, ((void *)__pyx_v_self));
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(void *,
char *, size_t, size_t *) {aka int (*)(void *, char *, long unsigned int,
long unsigned int *)}
In file included from yaml/_yaml.h:2,
from yaml/_yaml.c:750:
/usr/include/yaml.h:1374:30: note: expected ‘int (*)(void *, unsigned char
*, size_t, size_t *)’ {aka ‘int (*)(void *, unsigned char *, long unsigned
int, long unsigned int *)’} but argument is of type ‘int (*)(void *, char *,
size_t, size_t *)’ {aka ‘int (*)(void *, char *, long unsigned int, long
unsigned int *)’}
1374 | yaml_read_handler_t *handler, void *data);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/python3.9/bytesobject.h:75,
from /usr/include/python3.9/Python.h:92,
from yaml/_yaml.c:6:
/usr/include/python3.9/cpython/bytesobject.h:32:57: warning: pointer targets
in passing argument 2 of ‘yaml_parser_set_input_string’ differ in signedness
[-Wpointer-sign]
32 | #define PyBytes_AS_STRING(op) (assert(PyBytes_Check(op)), \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
| |
| char *
33 | (((PyBytesObject *)(op))->ob_sval))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
yaml/_yaml.h:11:29: note: in expansion of macro ‘PyBytes_AS_STRING’
11 | #define PyString_AS_STRING PyBytes_AS_STRING
| ^~~~~~~~~~~~~~~~~
yaml/_yaml.c:3839:59: note: in expansion of macro ‘PyString_AS_STRING’
3839 | yaml_parser_set_input_string((&__pyx_v_self->parser),
PyString_AS_STRING(__pyx_v_stream), PyString_GET_SIZE(__pyx_v_stream));
|
^~~~~~~~~~~~~~~~~~
In file included from yaml/_yaml.h:2,
from yaml/_yaml.c:750:
/usr/include/yaml.h:1348:30: note: expected ‘const unsigned char *’ but
argument is of type ‘char *’
1348 | const unsigned char *input, size_t size);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
yaml/_yaml.c: In function ‘__pyx_f_4yaml_5_yaml_7CParser__token_to_object’:
yaml/_yaml.c:5685:71: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
5685 | __pyx_t_2 =
PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if
(unlikely(!__pyx_t_2)) __PYX_ERR(0, 417, __pyx_L1_error)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
|
|
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c:5697:71: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
5697 | __pyx_t_2 =
PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if
(unlikely(!__pyx_t_2)) __PYX_ERR(0, 418, __pyx_L1_error)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
|
|
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c:6699:63: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
6699 | __pyx_t_2 =
PyUnicode_FromString(__pyx_v_token->data.alias.value); if
(unlikely(!__pyx_t_2)) __PYX_ERR(0, 448, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c:6783:64: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
6783 | __pyx_t_2 =
PyUnicode_FromString(__pyx_v_token->data.anchor.value); if
(unlikely(!__pyx_t_2)) __PYX_ERR(0, 451, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c:6867:61: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
6867 | __pyx_t_2 =
PyUnicode_FromString(__pyx_v_token->data.tag.handle); if (unlikely(!__pyx_t_2))
__PYX_ERR(0, 454, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c:6879:61: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
6879 | __pyx_t_2 =
PyUnicode_FromString(__pyx_v_token->data.tag.suffix); if (unlikely(!__pyx_t_2))
__PYX_ERR(0, 455, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c:7003:64: warning: pointer targets in passing argument 1 of
‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
7003 | __pyx_t_2 =
PyUnicode_DecodeUTF8(__pyx_v_token->data.scalar.value,
__pyx_v_token->data.scalar.length, ((char *)"strict")); if
(unlikely(!__pyx_t_2)) __PYX_ERR(0, 460, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:452:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
452 | const char *string, /* UTF-8 encoded string */
| ~~~~~~~~~~~~^~~~~~
yaml/_yaml.c: In function ‘__pyx_f_4yaml_5_yaml_7CParser__event_to_object’:
yaml/_yaml.c:8702:63: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
8702 | __pyx_t_4 =
PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4))
__PYX_ERR(0, 574, __pyx_L1_error)
|
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
| |
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c:8714:63: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
8714 | __pyx_t_4 =
PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4))
__PYX_ERR(0, 575, __pyx_L1_error)
|
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
| |
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c:8957:63: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
8957 | __pyx_t_4 =
PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if
(unlikely(!__pyx_t_4)) __PYX_ERR(0, 586, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c:9061:66: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
9061 | __pyx_t_4 =
PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if
(unlikely(!__pyx_t_4)) __PYX_ERR(0, 591, __pyx_L1_error)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c:9102:66: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
9102 | __pyx_t_4 =
PyUnicode_FromString(__pyx_v_event->data.scalar.tag); if (unlikely(!__pyx_t_4))
__PYX_ERR(0, 594, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c:9123:64: warning: pointer targets in passing argument 1 of
‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
9123 | __pyx_t_4 =
PyUnicode_DecodeUTF8(__pyx_v_event->data.scalar.value,
__pyx_v_event->data.scalar.length, ((char *)"strict")); if
(unlikely(!__pyx_t_4)) __PYX_ERR(0, 595, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:452:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
452 | const char *string, /* UTF-8 encoded string */
| ~~~~~~~~~~~~^~~~~~
yaml/_yaml.c:9464:74: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
9464 | __pyx_t_4 =
PyUnicode_FromString(__pyx_v_event->data.sequence_start.anchor); if
(unlikely(!__pyx_t_4)) __PYX_ERR(0, 620, __pyx_L1_error)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
|
|
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c:9505:74: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
9505 | __pyx_t_4 =
PyUnicode_FromString(__pyx_v_event->data.sequence_start.tag); if
(unlikely(!__pyx_t_4)) __PYX_ERR(0, 623, __pyx_L1_error)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|
|
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c:9737:73: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
9737 | __pyx_t_4 =
PyUnicode_FromString(__pyx_v_event->data.mapping_start.anchor); if
(unlikely(!__pyx_t_4)) __PYX_ERR(0, 637, __pyx_L1_error)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
|
|
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c:9778:73: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
9778 | __pyx_t_4 =
PyUnicode_FromString(__pyx_v_event->data.mapping_start.tag); if
(unlikely(!__pyx_t_4)) __PYX_ERR(0, 640, __pyx_L1_error)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|
|
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c: In function ‘__pyx_f_4yaml_5_yaml_7CParser__compose_node’:
yaml/_yaml.c:11475:75: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
11475 | __pyx_t_3 =
PyUnicode_FromString(__pyx_v_self->parsed_event.data.alias.anchor); if
(unlikely(!__pyx_t_3)) __PYX_ERR(0, 734, __pyx_L1_error)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
|
|
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c:11795:76: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
11795 | __pyx_t_6 =
PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.anchor); if
(unlikely(!__pyx_t_6)) __PYX_ERR(0, 750, __pyx_L1_error)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
|
|
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c:11851:84: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
11851 | __pyx_t_6 =
PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.anchor); if
(unlikely(!__pyx_t_6)) __PYX_ERR(0, 753, __pyx_L1_error)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
|
|
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c:11907:83: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
11907 | __pyx_t_6 =
PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.anchor); if
(unlikely(!__pyx_t_6)) __PYX_ERR(0, 756, __pyx_L1_error)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
|
|
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c: In function
‘__pyx_f_4yaml_5_yaml_7CParser__compose_scalar_node’:
yaml/_yaml.c:12568:74: warning: pointer targets in passing argument 1 of
‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
12568 | __pyx_t_2 =
PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.scalar.value,
__pyx_v_self->parsed_event.data.scalar.length, ((char *)"strict")); if
(unlikely(!__pyx_t_2)) __PYX_ERR(0, 791, __pyx_L1_error)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
|
|
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:452:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
452 | const char *string, /* UTF-8 encoded string */
| ~~~~~~~~~~~~^~~~~~
yaml/_yaml.c:12791:76: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
12791 | __pyx_t_2 =
PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.tag); if
(unlikely(!__pyx_t_2)) __PYX_ERR(0, 804, __pyx_L1_error)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|
|
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c: In function
‘__pyx_f_4yaml_5_yaml_7CParser__compose_sequence_node’:
yaml/_yaml.c:13332:84: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
13332 | __pyx_t_3 =
PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.tag); if
(unlikely(!__pyx_t_3)) __PYX_ERR(0, 837, __pyx_L1_error)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|
|
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c: In function
‘__pyx_f_4yaml_5_yaml_7CParser__compose_mapping_node’:
yaml/_yaml.c:13960:83: warning: pointer targets in passing argument 1 of
‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
13960 | __pyx_t_3 =
PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.tag); if
(unlikely(!__pyx_t_3)) __PYX_ERR(0, 876, __pyx_L1_error)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|
|
|
yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.9/Python.h:93,
from yaml/_yaml.c:6:
/usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’
but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
yaml/_yaml.c: In function ‘__pyx_f_4yaml_5_yaml_input_handler’:
yaml/_yaml.c:14784:87: warning: comparison of integer expressions of
different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
[-Wsign-compare]
14784 | __pyx_t_3 = (((__pyx_v_parser->stream_cache_len -
__pyx_v_parser->stream_cache_pos) < __pyx_v_size) != 0);
|
^
yaml/_yaml.c: In function ‘__pyx_pf_4yaml_5_yaml_8CEmitter___init__’:
yaml/_yaml.c:15309:53: warning: passing argument 2 of
‘yaml_emitter_set_output’ from incompatible pointer type
[-Wincompatible-pointer-types]
15309 | yaml_emitter_set_output((&__pyx_v_self->emitter),
__pyx_f_4yaml_5_yaml_output_handler, ((void *)__pyx_v_self));
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(void *,
char *, size_t) {aka int (*)(void *, char *, long unsigned int)}
In file included from yaml/_yaml.h:2,
from yaml/_yaml.c:750:
/usr/include/yaml.h:1844:31: note: expected ‘int (*)(void *, unsigned char
*, size_t)’ {aka ‘int (*)(void *, unsigned char *, long unsigned int)’} but
argument is of type ‘int (*)(void *, char *, size_t)’ {aka ‘int (*)(void *,
char *, long unsigned int)’}
1844 | yaml_write_handler_t *handler, void *data);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
yaml/_yaml.c: In function ‘__pyx_f_4yaml_5_yaml_8CEmitter__object_to_event’:
yaml/_yaml.c:16667:44: warning: pointer targets in assignment from ‘char *’
to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
16667 | __pyx_v_tag_directives_end->handle =
PyString_AS_STRING(__pyx_v_handle);
| ^
yaml/_yaml.c:16782:44: warning: pointer targets in assignment from ‘char *’
to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
16782 | __pyx_v_tag_directives_end->prefix =
PyString_AS_STRING(__pyx_v_prefix);
| ^
yaml/_yaml.c:17119:62: warning: pointer targets in passing argument 2 of
‘yaml_alias_event_initialize’ differ in signedness [-Wpointer-sign]
17119 | __pyx_t_2 = ((yaml_alias_event_initialize(__pyx_v_event,
__pyx_v_anchor) == 0) != 0);
|
^~~~~~~~~~~~~~
| |
| char *
In file included from yaml/_yaml.h:2,
from yaml/_yaml.c:750:
/usr/include/yaml.h:555:69: note: expected ‘const yaml_char_t *’ {aka ‘const
unsigned char *’} but argument is of type ‘char *’
555 | yaml_alias_event_initialize(yaml_event_t *event, const yaml_char_t
*anchor);
|
~~~~~~~~~~~~~~~~~~~^~~~~~
yaml/_yaml.c:17834:63: warning: pointer targets in passing argument 2 of
‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
17834 | __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event,
__pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length,
__pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) !=
0);
|
^~~~~~~~~~~~~~
| |
| char *
In file included from yaml/_yaml.h:2,
from yaml/_yaml.c:750:
/usr/include/yaml.h:581:28: note: expected ‘const yaml_char_t *’ {aka ‘const
unsigned char *’} but argument is of type ‘char *’
581 | const yaml_char_t *anchor, const yaml_char_t *tag,
| ~~~~~~~~~~~~~~~~~~~^~~~~~
yaml/_yaml.c:17834:79: warning: pointer targets in passing argument 3 of
‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
17834 | __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event,
__pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length,
__pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) !=
0);
|
^~~~~~~~~~~
|
|
|
char *
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]