Skip to content

Error when compiling with PHP 8.5.0 #554

@stehlo1

Description

@stehlo1

Compilation using PHP 8.5.0 ends with the following error:

zend/constantfuncs.cpp: In function 'bool Php::define(const char*, size_t, const Value&)':
zend/constantfuncs.cpp:107:46: error: no match for 'operator==' (operand types are 'zend_constant*' {aka '_zend_constant*'} and 'ZEND_RESULT_CODE')
  107 |     return zend_register_constant(&constant) == SUCCESS;
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~
      |                                  |              |
      |                                  |              ZEND_RESULT_CODE
      |                                  zend_constant* {aka _zend_constant*}
make: *** [Makefile:207: build/zend/constantfuncs.o] Error 1

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