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

compile failed on windows with vs2017 #70

Closed
479923197 opened this issue Sep 8, 2020 · 0 comments
Closed

compile failed on windows with vs2017 #70

479923197 opened this issue Sep 8, 2020 · 0 comments

Comments

@479923197
Copy link

Two errors occurred while compiling on win7:
phpx\src\class.cc(155): error C2440: “=”: 无法从“void (__cdecl *)(zend_execute_data *,zval *)”转换为“zif_handler”
phpx\src\extension.cc(169): error C2440: “=”: 无法从“void (__cdecl *)(zend_execute_data *,zval *)”转换为“zif_handler”

My env:
windows 7
php-7.3.22 TS
VS2017 (vc15)

phpdev需要的头文件都已经包含,编译预处理都已加过。vs2017新建工程然后把代码导入进来后者cmake转vs工程编译后都是一样的错误。

@matyhtf matyhtf closed this as completed Dec 22, 2023
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

2 participants