Skip to content

Type warning on build #533

@d47081

Description

@d47081
In file included from .../opt/php/include/php/main/php.h:119,
                 from zend/includes.h:40,
                 from zend/callable.cpp:9:
zend/callable.cpp: In static member function ‘static void Php::Callable::invoke(zend_execute_data*, zval*)’:
zend/callable.cpp:38:28: error: no match for ‘operator!=’ (operand types are ‘zend_type’ and ‘int’)
   38 |     assert(info[argc].type != 0 && info[argc].name == nullptr);
      |            ~~~~~~~~~~~~~~~ ^~ ~
      |                       |       |
      |                       |       int
      |                       zend_type
make: *** [Makefile:219: shared/zend/callable.o] Error 1

debian 12, php-src 8.3.9

    ./buildconf --force
    ./configure --prefix="/target/dir"\
                --with-openssl\
                --with-gettext\
                --with-pdo-mysql\
                --disable-cgi\
                --disable-shared\
                --enable-static\
                --enable-sockets\
                --enable-mbstring\
                --enable-shmop\
                --enable-pcntl\
                --enable-debug

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