Skip to content

zend/module.h:192:46: error: too few arguments to function ‘zend_module_entry* #536

@ntfs1984

Description

@ntfs1984
g++ -Wall -c -std=c++11 -fvisibility=hidden -DBUILDING_PHPCPP -Wno-write-strings -MD -g `/system/php/bin/php-config --includes` -fpic -o shared/zend/base.o zend/base.cpp
In file included from zend/includes.h:152,
                 from zend/base.cpp:8:
zend/module.h: In member function ‘bool Php::Module::start()’:
zend/module.h:192:46: error: too few arguments to function ‘zend_module_entry* zend_register_module_ex(zend_module_entry*, int)’
  192 |         auto *entry = zend_register_module_ex(_entry);
      |                       ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /system/php/include/php/main/php.h:35,
                 from zend/includes.h:40:
/system/php/include/php/Zend/zend_API.h:382:29: note: declared here
  382 | ZEND_API zend_module_entry* zend_register_module_ex(zend_module_entry *module, int module_type);
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:219: shared/zend/base.o] Error 1

Latest PHP 8.4

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