liexusong / php-beast

PHP source code encrypt module (PHP源码加密扩展)
1.69k stars 500 forks source link

php7编译错误 #45

Open barood opened 7 years ago

barood commented 7 years ago

/root/lnmp/php-beast-master/beast.c: In function ‘zif_beast_file_expire’: /root/lnmp/php-beast-master/beast.c:961: warning: assignment from incompatible pointer type /root/lnmp/php-beast-master/beast.c:962:32: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 /root/lnmp/php-beast-master/beast.c:962: error: ‘RETURN_STRING’ undeclared (first use in this function) /root/lnmp/php-beast-master/beast.c:964:47: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1

php7 make时候出现错误, php5.6没有问题

liexusong commented 7 years ago

php7的话用php7的分支