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

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

Open
ntfs1984 opened this issue Nov 26, 2024 · 1 comment

Comments

@ntfs1984
Copy link

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

@ntfs1984
Copy link
Author

Closed

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