Skip to content

php 8.0 will be supported? #55

@reptily

Description

@reptily

now there are errors during compilation

/tmp/pear/temp/decimal/src/decimal.c: At top level: /tmp/pear/temp/decimal/src/arginfo.h:65:60: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] {(const char*)(zend_uintptr_t)(required_num_args), ZEND_TYPE_ENCODE_CLASS_CONST(PHP_DECIMAL_RATIONAL_FQCN, 0), 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pear/temp/decimal/src/decimal.c:995:1: note: in expansion of macro 'PHP_DECIMAL_ARGINFO_RETURN_RATIONAL' PHP_DECIMAL_ARGINFO_RETURN_RATIONAL(Decimal, toRational, 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pear/temp/decimal/src/arginfo.h:65:60: note: (near initialization for 'php_decimal_arginfo_Decimal_toRational[0].type.ptr') {(const char*)(zend_uintptr_t)(required_num_args), ZEND_TYPE_ENCODE_CLASS_CONST(PHP_DECIMAL_RATIONAL_FQCN, 0), 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pear/temp/decimal/src/decimal.c:995:1: note: in expansion of macro 'PHP_DECIMAL_ARGINFO_RETURN_RATIONAL' PHP_DECIMAL_ARGINFO_RETURN_RATIONAL(Decimal, toRational, 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pear/temp/decimal/src/arginfo.h:65:60: error: initializer element is not constant {(const char*)(zend_uintptr_t)(required_num_args), ZEND_TYPE_ENCODE_CLASS_CONST(PHP_DECIMAL_RATIONAL_FQCN, 0), 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pear/temp/decimal/src/decimal.c:995:1: note: in expansion of macro 'PHP_DECIMAL_ARGINFO_RETURN_RATIONAL' PHP_DECIMAL_ARGINFO_RETURN_RATIONAL(Decimal, toRational, 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pear/temp/decimal/src/arginfo.h:65:60: note: (near initialization for 'php_decimal_arginfo_Decimal_toRational[0].type.ptr') {(const char*)(zend_uintptr_t)(required_num_args), ZEND_TYPE_ENCODE_CLASS_CONST(PHP_DECIMAL_RATIONAL_FQCN, 0), 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions