Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type warning on build #533

Open
d47081 opened this issue Jul 25, 2024 · 0 comments
Open

Type warning on build #533

d47081 opened this issue Jul 25, 2024 · 0 comments

Comments

@d47081
Copy link

d47081 commented Jul 25, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant