{"action":"created","issue":{"url":"https://api.github.com/repos/laruence/yac/issues/71","repository_url":"https://api.github.com/repos/laruence/yac","labels_url":"https://api.github.com/repos/laruence/yac/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/laruence/yac/issues/71/comments","events_url":"https://api.github.com/repos/laruence/yac/issues/71/events","html_url":"https://github.com/laruence/yac/issues/71","id":168446129,"number":71,"title":"php 5.6.22 下编译不通过","user":{"login":"xluohome","id":20061705,"avatar_url":"https://avatars.githubusercontent.com/u/20061705?v=3","gravatar_id":"","url":"https://api.github.com/users/xluohome","html_url":"https://github.com/xluohome","followers_url":"https://api.github.com/users/xluohome/followers","following_url":"https://api.github.com/users/xluohome/following{/other_user}","gists_url":"https://api.github.com/users/xluohome/gists{/gist_id}","starred_url":"https://api.github.com/users/xluohome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xluohome/subscriptions","organizations_url":"https://api.github.com/users/xluohome/orgs","repos_url":"https://api.github.com/users/xluohome/repos","events_url":"https://api.github.com/users/xluohome/events{/privacy}","received_events_url":"https://api.github.com/users/xluohome/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-30T03:18:59Z","updated_at":"2016-07-30T03:32:50Z","closed_at":null,"body":"下载 https://pecl.php.net/get/yac-2.0.1.tgz\r\n\r\nmake 时出现如下错误：\r\n/bin/sh /root/yac-2.0.1/libtool --mode=compile cc  -I. -I/root/yac-2.0.1 -DPHP_ATOM_INC -I/root/yac-2.0.1/include -I/root/yac-2.0.1/main -I/root/yac-2.0.1 -I/usr/local/php5.6.22/include/php -I/usr/local/php5.6.22/include/php/main -I/usr/local/php5.6.22/include/php/TSRM -I/usr/local/php5.6.22/include/php/Zend -I/usr/local/php5.6.22/include/php/ext -I/usr/local/php5.6.22/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /root/yac-2.0.1/yac.c -o yac.lo\r\nmkdir .libs\r\n cc -I. -I/root/yac-2.0.1 -DPHP_ATOM_INC -I/root/yac-2.0.1/include -I/root/yac-2.0.1/main -I/root/yac-2.0.1 -I/usr/local/php5.6.22/include/php -I/usr/local/php5.6.22/include/php/main -I/usr/local/php5.6.22/include/php/TSRM -I/usr/local/php5.6.22/include/php/Zend -I/usr/local/php5.6.22/include/php/ext -I/usr/local/php5.6.22/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/yac-2.0.1/yac.c  -fPIC -DPIC -o .libs/yac.o\r\n/root/yac-2.0.1/yac.c:30:28: error: zend_smart_str.h: No such file or directory\r\nIn file included from /root/yac-2.0.1/yac.c:35:\r\n/root/yac-2.0.1/serializer/yac_serializer.h:28: error: expected declaration specifiers or ‘...’ before ‘smart_str’\r\n/root/yac-2.0.1/yac.c: In function ‘OnChangeKeysMemoryLimit’:\r\n/root/yac-2.0.1/yac.c:82: warning: passing argument 1 of ‘zend_atol’ makes pointer from integer without a cast\r\n/usr/local/php5.6.22/include/php/Zend/zend_operators.h:377: note: expected ‘const char *’ but argument is of type ‘int’\r\n/root/yac-2.0.1/yac.c: In function ‘OnChangeValsMemoryLimit’:\r\n/root/yac-2.0.1/yac.c:90: warning: passing argument 1 of ‘zend_atol’ makes pointer from integer without a cast\r\n/usr/local/php5.6.22/include/php/Zend/zend_operators.h:377: note: expected ‘const char *’ but argument is of type ‘int’\r\n/root/yac-2.0.1/yac.c: In function ‘OnChangeCompressThreshold’:\r\n/root/yac-2.0.1/yac.c:98: warning: passing argument 1 of ‘zend_atol’ makes pointer from integer without a cast\r\n/usr/local/php5.6.22/include/php/Zend/zend_operators.h:377: note: expected ‘const char *’ but argument is of type ‘int’\r\n/root/yac-2.0.1/yac.c: At top level:\r\n/root/yac-2.0.1/yac.c:119: error: expected ‘)’ before ‘*’ token\r\n/root/yac-2.0.1/yac.c:270: error: expected ‘)’ before ‘*’ token\r\n/root/yac-2.0.1/yac.c:299: error: expected ‘)’ before ‘*’ token\r\n/root/yac-2.0.1/yac.c:366:38: error: macro \"ZVAL_STRINGL\" requires 4 arguments, but only 3 given\r\n/root/yac-2.0.1/yac.c:370:34: error: macro \"ZVAL_STRINGL\" requires 4 arguments, but only 3 given\r\n/root/yac-2.0.1/yac.c:426: error: expected ‘)’ before ‘*’ token\r\n/root/yac-2.0.1/yac.c: In function ‘yac_delete_multi_impl’:\r\n/root/yac-2.0.1/yac.c:493: error: expected ‘;’ before ‘{’ token\r\n/root/yac-2.0.1/yac.c: In function ‘zim_yac___construct’:\r\n/root/yac-2.0.1/yac.c:514: error: ‘zend_string’ undeclared (first use in this function)\r\n/root/yac-2.0.1/yac.c:514: error: (Each undeclared identifier is reported only once\r\n/root/yac-2.0.1/yac.c:514: error: for each function it appears in.)\r\n/root/yac-2.0.1/yac.c:514: error: ‘prefix’ undeclared (first use in this function)\r\n/root/yac-2.0.1/yac.c: In function ‘zim_yac_add’:\r\n/root/yac-2.0.1/yac.c:573: error: too many arguments to function ‘zend_read_property’\r\n/root/yac-2.0.1/yac.c:581: error: too few arguments to function ‘zend_make_printable_zval’\r\n/root/yac-2.0.1/yac.c: In function ‘zim_yac_set’:\r\n/root/yac-2.0.1/yac.c:630: error: too many arguments to function ‘zend_read_property’\r\n/root/yac-2.0.1/yac.c:638: error: too few arguments to function ‘zend_make_printable_zval’\r\n/root/yac-2.0.1/yac.c: In function ‘zim_yac___set’:\r\n/root/yac-2.0.1/yac.c:650: error: ‘zend_string’ undeclared (first use in this function)\r\n/root/yac-2.0.1/yac.c:650: error: ‘key’ undeclared (first use in this function)\r\n/root/yac-2.0.1/yac.c:661: error: too many arguments to function ‘zend_read_property’\r\n/root/yac-2.0.1/yac.c: In function ‘zim_yac_get’:\r\n/root/yac-2.0.1/yac.c:681: error: too many arguments to function ‘zend_read_property’\r\n/root/yac-2.0.1/yac.c:684: warning: assignment makes pointer from integer without a cast\r\n/root/yac-2.0.1/yac.c:686: warning: assignment makes pointer from integer without a cast\r\n/root/yac-2.0.1/yac.c:689: error: too few arguments to function ‘zend_make_printable_zval’\r\n/root/yac-2.0.1/yac.c:690: warning: assignment makes pointer from integer without a cast\r\n/root/yac-2.0.1/yac.c: In function ‘zim_yac___get’:\r\n/root/yac-2.0.1/yac.c:704: error: ‘zend_string’ undeclared (first use in this function)\r\n/root/yac-2.0.1/yac.c:704: error: ‘key’ undeclared (first use in this function)\r\n/root/yac-2.0.1/yac.c:715: error: too many arguments to function ‘zend_read_property’\r\n/root/yac-2.0.1/yac.c: In function ‘zim_yac_delete’:\r\n/root/yac-2.0.1/yac.c:739: error: too many arguments to function ‘zend_read_property’\r\n/root/yac-2.0.1/yac.c:749: error: too few arguments to function ‘zend_make_printable_zval’\r\n/root/yac-2.0.1/yac.c:829:47: error: macro \"add_assoc_string\" requires 4 arguments, but only 3 given\r\n/root/yac-2.0.1/yac.c: In function ‘zim_yac_dump’:\r\n/root/yac-2.0.1/yac.c:829: error: ‘add_assoc_string’ undeclared (first use in this function)\r\nmake: *** [yac.lo] Error 1\r\n"},"comment":{"url":"https://api.github.com/repos/laruence/yac/issues/comments/236338304","html_url":"https://github.com/laruence/yac/issues/71#issuecomment-236338304","issue_url":"https://api.github.com/repos/laruence/yac/issues/71","id":236338304,"user":{"login":"xluohome","id":20061705,"avatar_url":"https://avatars.githubusercontent.com/u/20061705?v=3","gravatar_id":"","url":"https://api.github.com/users/xluohome","html_url":"https://github.com/xluohome","followers_url":"https://api.github.com/users/xluohome/followers","following_url":"https://api.github.com/users/xluohome/following{/other_user}","gists_url":"https://api.github.com/users/xluohome/gists{/gist_id}","starred_url":"https://api.github.com/users/xluohome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xluohome/subscriptions","organizations_url":"https://api.github.com/users/xluohome/orgs","repos_url":"https://api.github.com/users/xluohome/repos","events_url":"https://api.github.com/users/xluohome/events{/privacy}","received_events_url":"https://api.github.com/users/xluohome/received_events","type":"User","site_admin":false},"created_at":"2016-07-30T03:32:50Z","updated_at":"2016-07-30T03:32:50Z","body":"知道原因了， 2.X 版本的 只适合 php 7+  ，  下载了 0.9.2 版本 可以编译通过了，   这些都是beta 版本 有用在生产环境的吗？ "}}
{"actor":{"display_login":"xluohome"}}