-
-
Notifications
You must be signed in to change notification settings - Fork 233
Description
PHP-8.1.33 ALPHINE-3.22
pecl install xlswriter-1.5.8
出现下列报错
from /tmp/pear/temp/xlswriter/kernel/excel.c:13:
/tmp/pear/temp/xlswriter/kernel/excel.c: In function 'zim_vtiful_xls_setColumn':
/tmp/pear/temp/xlswriter/library/libxlsxwriter/include/xlsxwriter/common.h:291:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'zend_long' {aka 'long int'} [-Wformat=]
291 | LXW_PRINTF(LXW_STDERR "[WARNING]: " message "\n", var)
| ^~~~~~~~~~~~~
/tmp/pear/temp/xlswriter/kernel/excel.c:1065:9: note: in expansion of macro 'LXW_WARN_FORMAT1'
1065 | LXW_WARN_FORMAT1("outline level must be in 0..7 range, '%d' given.", level);
| ^~~~~~~~~~~~~~~~
/tmp/pear/temp/xlswriter/kernel/excel.c: In function 'zim_vtiful_xls_setRow':
/tmp/pear/temp/xlswriter/library/libxlsxwriter/include/xlsxwriter/common.h:291:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'zend_long' {aka 'long int'} [-Wformat=]
291 | LXW_PRINTF(LXW_STDERR "[WARNING]: " message "\n", var)
| ^~~~~~~~~~~~~
/tmp/pear/temp/xlswriter/kernel/excel.c:1110:9: note: in expansion of macro 'LXW_WARN_FORMAT1'
1110 | LXW_WARN_FORMAT1("outline level must be in 0..7 range, '%d' given.", level);
| ^~~~~~~~~~~~~~~~
/tmp/pear/temp/xlswriter/kernel/excel.c: In function 'zim_vtiful_xls_defaultRowOptions':
/tmp/pear/temp/xlswriter/library/libxlsxwriter/include/xlsxwriter/common.h:291:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'zend_long' {aka 'long int'} [-Wformat=]
291 | LXW_PRINTF(LXW_STDERR "[WARNING]: " message "\n", var)
| ^~~~~~~~~~~~~
/tmp/pear/temp/xlswriter/kernel/excel.c:1207:9: note: in expansion of macro 'LXW_WARN_FORMAT1'
1207 | LXW_WARN_FORMAT1("outline level must be in 0..7 range, '%d' given.", level);
| ^~~~~~~~~~~~~~~~