{"action":"created","issue":{"url":"https://api.github.com/repos/iliaal/php_excel/issues/148","repository_url":"https://api.github.com/repos/iliaal/php_excel","labels_url":"https://api.github.com/repos/iliaal/php_excel/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/iliaal/php_excel/issues/148/comments","events_url":"https://api.github.com/repos/iliaal/php_excel/issues/148/events","html_url":"https://github.com/iliaal/php_excel/issues/148","id":123153155,"number":148,"title":"PHP7 support","user":{"login":"onlime","id":2759561,"avatar_url":"https://avatars.githubusercontent.com/u/2759561?v=3","gravatar_id":"","url":"https://api.github.com/users/onlime","html_url":"https://github.com/onlime","followers_url":"https://api.github.com/users/onlime/followers","following_url":"https://api.github.com/users/onlime/following{/other_user}","gists_url":"https://api.github.com/users/onlime/gists{/gist_id}","starred_url":"https://api.github.com/users/onlime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onlime/subscriptions","organizations_url":"https://api.github.com/users/onlime/orgs","repos_url":"https://api.github.com/users/onlime/repos","events_url":"https://api.github.com/users/onlime/events{/privacy}","received_events_url":"https://api.github.com/users/onlime/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-20T10:36:46Z","updated_at":"2016-03-14T11:50:33Z","closed_at":null,"body":"Please add support for PHP 7.0.\r\n\r\ncompile of php_excel 1.0.1 for PHP 7.0.1 failed:\r\n\r\n```bash\r\n$ /opt/php/php70/bin/phpize\r\n$ ./configure --with-php-config=/opt/php/php70/bin/php-config --with-libxl-incdir=/usr/src/libxl/include_c --with-libxl-libdir=/usr/src/libxl/lib\r\n$ make\r\n```\r\nleads to:\r\n\r\n```\r\n/bin/bash /usr/src/php_excel/libtool --mode=compile cc  -I. -I/usr/src/php_excel -DPHP_ATOM_INC -I/usr/src/php_excel/include -I/usr/src/php_excel/main -I/usr/src/php_excel -I/opt/php/7.0.1/include/php -I/opt/php/7.0.1/include/php/main -I/opt/php/7.0.1/include/php/TSRM -I/opt/php/7.0.1/include/php/Zend -I/opt/php/7.0.1/include/php/ext -I/opt/php/7.0.1/include/php/ext/date/lib -I/usr/src/libxl/include_c  -DHAVE_CONFIG_H  -g -O2   -c /usr/src/php_excel/excel.c -o excel.lo \r\nmkdir .libs\r\n cc -I. -I/usr/src/php_excel -DPHP_ATOM_INC -I/usr/src/php_excel/include -I/usr/src/php_excel/main -I/usr/src/php_excel -I/opt/php/7.0.1/include/php -I/opt/php/7.0.1/include/php/main -I/opt/php/7.0.1/include/php/TSRM -I/opt/php/7.0.1/include/php/Zend -I/opt/php/7.0.1/include/php/ext -I/opt/php/7.0.1/include/php/ext/date/lib -I/usr/src/libxl/include_c -DHAVE_CONFIG_H -g -O2 -c /usr/src/php_excel/excel.c  -fPIC -DPIC -o .libs/excel.o\r\n/usr/src/php_excel/excel.c:193:1: error: unknown type name ‘zend_object_value’\r\n/usr/src/php_excel/excel.c: In function ‘excel_object_new_book’:\r\n/usr/src/php_excel/excel.c:196:2: error: unknown type name ‘zend_object_value’\r\n/usr/src/php_excel/excel.c:212:11: error: request for member ‘handle’ in something not a structure or union\r\n/usr/src/php_excel/excel.c:212:54: error: ‘zend_objects_store_dtor_t’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c:212:54: note: each undeclared identifier is reported only once for each function it appears in\r\n/usr/src/php_excel/excel.c:212:80: error: expected ‘)’ before ‘zend_objects_destroy_object’\r\n/usr/src/php_excel/excel.c:212:80: warning: passing argument 1 of ‘zend_objects_store_put’ from incompatible pointer type [enabled by default]\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend_globals.h:35:0,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_compile.h:657,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_modules.h:26,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_API.h:27,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:39,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_objects_API.h:58:15: note: expected ‘struct zend_object *’ but argument is of type ‘struct excel_book_object *’\r\n/usr/src/php_excel/excel.c:212:80: error: too many arguments to function ‘zend_objects_store_put’\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend_globals.h:35:0,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_compile.h:657,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_modules.h:26,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_API.h:27,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:39,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_objects_API.h:58:15: note: declared here\r\n/usr/src/php_excel/excel.c:213:11: error: request for member ‘handlers’ in something not a structure or union\r\n/usr/src/php_excel/excel.c: At top level:\r\n/usr/src/php_excel/excel.c:227:1: error: unknown type name ‘zend_object_value’\r\n/usr/src/php_excel/excel.c: In function ‘excel_object_new_sheet’:\r\n/usr/src/php_excel/excel.c:230:2: error: unknown type name ‘zend_object_value’\r\n/usr/src/php_excel/excel.c:243:11: error: request for member ‘handle’ in something not a structure or union\r\n/usr/src/php_excel/excel.c:243:54: error: ‘zend_objects_store_dtor_t’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c:243:80: error: expected ‘)’ before ‘zend_objects_destroy_object’\r\n/usr/src/php_excel/excel.c:243:80: warning: passing argument 1 of ‘zend_objects_store_put’ from incompatible pointer type [enabled by default]\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend_globals.h:35:0,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_compile.h:657,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_modules.h:26,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_API.h:27,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:39,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_objects_API.h:58:15: note: expected ‘struct zend_object *’ but argument is of type ‘struct excel_sheet_object *’\r\n/usr/src/php_excel/excel.c:243:80: error: too many arguments to function ‘zend_objects_store_put’\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend_globals.h:35:0,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_compile.h:657,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_modules.h:26,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_API.h:27,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:39,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_objects_API.h:58:15: note: declared here\r\n/usr/src/php_excel/excel.c:244:11: error: request for member ‘handlers’ in something not a structure or union\r\n/usr/src/php_excel/excel.c: At top level:\r\n/usr/src/php_excel/excel.c:261:1: error: unknown type name ‘zend_object_value’\r\n/usr/src/php_excel/excel.c: In function ‘excel_object_new_font_ex’:\r\n/usr/src/php_excel/excel.c:264:2: error: unknown type name ‘zend_object_value’\r\n/usr/src/php_excel/excel.c:281:11: error: request for member ‘handle’ in something not a structure or union\r\n/usr/src/php_excel/excel.c:281:54: error: ‘zend_objects_store_dtor_t’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c:281:80: error: expected ‘)’ before ‘zend_objects_destroy_object’\r\n/usr/src/php_excel/excel.c:281:80: warning: passing argument 1 of ‘zend_objects_store_put’ from incompatible pointer type [enabled by default]\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend_globals.h:35:0,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_compile.h:657,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_modules.h:26,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_API.h:27,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:39,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_objects_API.h:58:15: note: expected ‘struct zend_object *’ but argument is of type ‘struct excel_font_object *’\r\n/usr/src/php_excel/excel.c:281:80: error: too many arguments to function ‘zend_objects_store_put’\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend_globals.h:35:0,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_compile.h:657,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_modules.h:26,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_API.h:27,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:39,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_objects_API.h:58:15: note: declared here\r\n/usr/src/php_excel/excel.c:282:11: error: request for member ‘handlers’ in something not a structure or union\r\n/usr/src/php_excel/excel.c: At top level:\r\n/usr/src/php_excel/excel.c:287:1: error: unknown type name ‘zend_object_value’\r\n/usr/src/php_excel/excel.c:292:1: error: unknown type name ‘zend_object_value’\r\n/usr/src/php_excel/excel.c: In function ‘excel_font_object_clone’:\r\n/usr/src/php_excel/excel.c:295:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:296:2: error: unknown type name ‘zend_object_value’\r\n/usr/src/php_excel/excel.c:307:2: warning: passing argument 2 of ‘zend_objects_clone_members’ makes pointer from integer without a cast [enabled by default]\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend_globals.h:34:0,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_compile.h:657,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_modules.h:26,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_API.h:27,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:39,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_objects.h:32:15: note: expected ‘struct zend_object *’ but argument is of type ‘int’\r\n/usr/src/php_excel/excel.c:307:2: error: too many arguments to function ‘zend_objects_clone_members’\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend_globals.h:34:0,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_compile.h:657,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_modules.h:26,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_API.h:27,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:39,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_objects.h:32:15: note: declared here\r\n/usr/src/php_excel/excel.c: At top level:\r\n/usr/src/php_excel/excel.c:321:1: error: unknown type name ‘zend_object_value’\r\n/usr/src/php_excel/excel.c: In function ‘excel_object_new_format_ex’:\r\n/usr/src/php_excel/excel.c:324:2: error: unknown type name ‘zend_object_value’\r\n/usr/src/php_excel/excel.c:341:11: error: request for member ‘handle’ in something not a structure or union\r\n/usr/src/php_excel/excel.c:341:54: error: ‘zend_objects_store_dtor_t’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c:341:80: error: expected ‘)’ before ‘zend_objects_destroy_object’\r\n/usr/src/php_excel/excel.c:341:80: warning: passing argument 1 of ‘zend_objects_store_put’ from incompatible pointer type [enabled by default]\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend_globals.h:35:0,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_compile.h:657,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_modules.h:26,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_API.h:27,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:39,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_objects_API.h:58:15: note: expected ‘struct zend_object *’ but argument is of type ‘struct excel_format_object *’\r\n/usr/src/php_excel/excel.c:341:80: error: too many arguments to function ‘zend_objects_store_put’\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend_globals.h:35:0,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_compile.h:657,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_modules.h:26,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_API.h:27,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:39,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_objects_API.h:58:15: note: declared here\r\n/usr/src/php_excel/excel.c:342:11: error: request for member ‘handlers’ in something not a structure or union\r\n/usr/src/php_excel/excel.c: At top level:\r\n/usr/src/php_excel/excel.c:347:1: error: unknown type name ‘zend_object_value’\r\n/usr/src/php_excel/excel.c:352:1: error: unknown type name ‘zend_object_value’\r\n/usr/src/php_excel/excel.c: In function ‘excel_format_object_clone’:\r\n/usr/src/php_excel/excel.c:355:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:356:2: error: unknown type name ‘zend_object_value’\r\n/usr/src/php_excel/excel.c:367:2: warning: passing argument 2 of ‘zend_objects_clone_members’ makes pointer from integer without a cast [enabled by default]\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend_globals.h:34:0,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_compile.h:657,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_modules.h:26,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_API.h:27,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:39,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_objects.h:32:15: note: expected ‘struct zend_object *’ but argument is of type ‘int’\r\n/usr/src/php_excel/excel.c:367:2: error: too many arguments to function ‘zend_objects_clone_members’\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend_globals.h:34:0,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_compile.h:657,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_modules.h:26,\r\n                 from /opt/php/7.0.1/include/php/Zend/zend_API.h:27,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:39,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_objects.h:32:15: note: declared here\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_load’:\r\n/usr/src/php_excel/excel.c:407:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_loadFile’:\r\n/usr/src/php_excel/excel.c:433:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:435:11: error: ‘ENFORCE_SAFE_MODE’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c:440:72: error: macro \"php_stream_copy_to_mem\" passed 4 arguments, but takes just 3\r\n/usr/src/php_excel/excel.c:440:8: error: ‘php_stream_copy_to_mem’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_save’:\r\n/usr/src/php_excel/excel.c:467:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:475:24: error: ‘ENFORCE_SAFE_MODE’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c:490:34: error: macro \"RETURN_STRINGL\" passed 3 arguments, but takes just 2\r\n/usr/src/php_excel/excel.c:490:3: error: ‘RETURN_STRINGL’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_getSheet’:\r\n/usr/src/php_excel/excel.c:514:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:520:25: error: lvalue required as left operand of assignment\r\n/usr/src/php_excel/excel.c:523:2: error: ‘zval’ has no member named ‘is_ref’\r\n/usr/src/php_excel/excel.c:524:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_getSheetByName’:\r\n/usr/src/php_excel/excel.c:552:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:561:29: error: lvalue required as left operand of assignment\r\n/usr/src/php_excel/excel.c:564:6: error: ‘zval’ has no member named ‘is_ref’\r\n/usr/src/php_excel/excel.c:565:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_deleteSheet’:\r\n/usr/src/php_excel/excel.c:595:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_activeSheet’:\r\n/usr/src/php_excel/excel.c:614:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_addSheet’:\r\n/usr/src/php_excel/excel.c:644:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:656:25: error: lvalue required as left operand of assignment\r\n/usr/src/php_excel/excel.c:659:2: error: ‘zval’ has no member named ‘is_ref’\r\n/usr/src/php_excel/excel.c:660:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_copySheet’:\r\n/usr/src/php_excel/excel.c:689:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:704:25: error: lvalue required as left operand of assignment\r\n/usr/src/php_excel/excel.c:707:2: error: ‘zval’ has no member named ‘is_ref’\r\n/usr/src/php_excel/excel.c:708:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_sheetCount’:\r\n/usr/src/php_excel/excel.c:725:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_getError’:\r\n/usr/src/php_excel/excel.c:743:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:750:24: error: macro \"RETURN_STRING\" passed 2 arguments, but takes just 1\r\n/usr/src/php_excel/excel.c:750:4: error: ‘RETURN_STRING’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c:753:35: error: macro \"RETURN_STRING\" passed 2 arguments, but takes just 1\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_addFont’:\r\n/usr/src/php_excel/excel.c:773:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:775:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:783:25: error: lvalue required as left operand of assignment\r\n/usr/src/php_excel/excel.c:786:2: error: ‘zval’ has no member named ‘is_ref’\r\n/usr/src/php_excel/excel.c:787:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_addFormat’:\r\n/usr/src/php_excel/excel.c:808:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:810:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:818:25: error: lvalue required as left operand of assignment\r\n/usr/src/php_excel/excel.c:821:2: error: ‘zval’ has no member named ‘is_ref’\r\n/usr/src/php_excel/excel.c:822:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_getAllFormats’:\r\n/usr/src/php_excel/excel.c:842:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:859:20: error: lvalue required as left operand of assignment\r\n/usr/src/php_excel/excel.c:862:4: error: ‘zval’ has no member named ‘is_ref’\r\n/usr/src/php_excel/excel.c:863:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_addCustomFormat’:\r\n/usr/src/php_excel/excel.c:892:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_getCustomFormat’:\r\n/usr/src/php_excel/excel.c:918:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:923:23: error: macro \"RETURN_STRING\" passed 2 arguments, but takes just 1\r\n/usr/src/php_excel/excel.c:923:2: error: ‘RETURN_STRING’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_packDate’:\r\n/usr/src/php_excel/excel.c:962:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_packDateValues’:\r\n/usr/src/php_excel/excel.c:1013:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_unpackDate’:\r\n/usr/src/php_excel/excel.c:1070:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_isDate1904’:\r\n/usr/src/php_excel/excel.c:1091:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_setDate1904’:\r\n/usr/src/php_excel/excel.c:1109:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_getActiveSheet’:\r\n/usr/src/php_excel/excel.c:1129:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_getDefaultFont’:\r\n/usr/src/php_excel/excel.c:1152:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:1159:56: error: macro \"add_assoc_string\" passed 4 arguments, but takes just 3\r\n/usr/src/php_excel/excel.c:1159:2: error: ‘add_assoc_string’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_setDefaultFont’:\r\n/usr/src/php_excel/excel.c:1178:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_setLocale’:\r\n/usr/src/php_excel/excel.c:1197:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook___construct’:\r\n/usr/src/php_excel/excel.c:1244:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:1247:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_setActiveSheet’:\r\n/usr/src/php_excel/excel.c:1301:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘php_excel_add_picture’:\r\n/usr/src/php_excel/excel.c:1316:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:1325:24: error: ‘ENFORCE_SAFE_MODE’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c:1333:73: error: macro \"php_stream_copy_to_mem\" passed 4 arguments, but takes just 3\r\n/usr/src/php_excel/excel.c:1333:9: error: ‘php_stream_copy_to_mem’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_rgbMode’:\r\n/usr/src/php_excel/excel.c:1382:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_setRGBMode’:\r\n/usr/src/php_excel/excel.c:1400:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_colorPack’:\r\n/usr/src/php_excel/excel.c:1429:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_colorUnpack’:\r\n/usr/src/php_excel/excel.c:1457:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFont_size’:\r\n/usr/src/php_excel/excel.c:1481:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFont_italics’:\r\n/usr/src/php_excel/excel.c:1503:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFont_strike’:\r\n/usr/src/php_excel/excel.c:1525:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFont_bold’:\r\n/usr/src/php_excel/excel.c:1547:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFont_color’:\r\n/usr/src/php_excel/excel.c:1569:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFont_mode’:\r\n/usr/src/php_excel/excel.c:1591:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFont_underline’:\r\n/usr/src/php_excel/excel.c:1613:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFont_name’:\r\n/usr/src/php_excel/excel.c:1636:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:1642:43: error: macro \"RETURN_STRING\" passed 2 arguments, but takes just 1\r\n/usr/src/php_excel/excel.c:1642:2: error: ‘RETURN_STRING’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat___construct’:\r\n/usr/src/php_excel/excel.c:1663:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:1665:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFont___construct’:\r\n/usr/src/php_excel/excel.c:1694:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:1696:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_setFont’:\r\n/usr/src/php_excel/excel.c:1721:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:1722:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_getFont’:\r\n/usr/src/php_excel/excel.c:1739:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:1751:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:1758:25: error: lvalue required as left operand of assignment\r\n/usr/src/php_excel/excel.c:1761:2: error: ‘zval’ has no member named ‘is_ref’\r\n/usr/src/php_excel/excel.c:1762:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_numberFormat’:\r\n/usr/src/php_excel/excel.c:1806:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_horizontalAlign’:\r\n/usr/src/php_excel/excel.c:1814:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_verticalAlign’:\r\n/usr/src/php_excel/excel.c:1822:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_wrap’:\r\n/usr/src/php_excel/excel.c:1830:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_rotate’:\r\n/usr/src/php_excel/excel.c:1846:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_indent’:\r\n/usr/src/php_excel/excel.c:1872:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_shrinkToFit’:\r\n/usr/src/php_excel/excel.c:1890:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_borderStyle’:\r\n/usr/src/php_excel/excel.c:1898:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_borderColor’:\r\n/usr/src/php_excel/excel.c:1906:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_borderLeftStyle’:\r\n/usr/src/php_excel/excel.c:1914:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_borderLeftColor’:\r\n/usr/src/php_excel/excel.c:1922:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_borderRightStyle’:\r\n/usr/src/php_excel/excel.c:1930:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_borderRightColor’:\r\n/usr/src/php_excel/excel.c:1938:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_borderTopStyle’:\r\n/usr/src/php_excel/excel.c:1946:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_borderTopColor’:\r\n/usr/src/php_excel/excel.c:1954:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_borderBottomStyle’:\r\n/usr/src/php_excel/excel.c:1962:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_borderBottomColor’:\r\n/usr/src/php_excel/excel.c:1970:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_borderDiagonalStyle’:\r\n/usr/src/php_excel/excel.c:1978:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_borderDiagonalColor’:\r\n/usr/src/php_excel/excel.c:1986:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_fillPattern’:\r\n/usr/src/php_excel/excel.c:1994:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_patternForegroundColor’:\r\n/usr/src/php_excel/excel.c:2002:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_patternBackgroundColor’:\r\n/usr/src/php_excel/excel.c:2010:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_locked’:\r\n/usr/src/php_excel/excel.c:2018:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelFormat_hidden’:\r\n/usr/src/php_excel/excel.c:2026:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet___construct’:\r\n/usr/src/php_excel/excel.c:2049:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:2051:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_cellType’:\r\n/usr/src/php_excel/excel.c:2080:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_cellFormat’:\r\n/usr/src/php_excel/excel.c:2100:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:2104:25: error: lvalue required as left operand of assignment\r\n/usr/src/php_excel/excel.c:2107:2: error: ‘zval’ has no member named ‘is_ref’\r\n/usr/src/php_excel/excel.c:2108:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setCellFormat’:\r\n/usr/src/php_excel/excel.c:2128:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:2129:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘php_excel_read_cell’:\r\n/usr/src/php_excel/excel.c:2142:33: error: macro \"ZVAL_STRING\" passed 3 arguments, but takes just 2\r\n/usr/src/php_excel/excel.c:2142:4: error: ‘ZVAL_STRING’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c:2186:34: error: macro \"ZVAL_STRING\" passed 3 arguments, but takes just 2\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_readRow’:\r\n/usr/src/php_excel/excel.c:2222:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:2253:4: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [enabled by default]\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend.h:39:0,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:35,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_variables.h:112:15: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_readCol’:\r\n/usr/src/php_excel/excel.c:2283:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:2314:4: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type [enabled by default]\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend.h:39:0,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:35,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_variables.h:112:15: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_read’:\r\n/usr/src/php_excel/excel.c:2343:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:2358:21: error: lvalue required as left operand of assignment\r\n/usr/src/php_excel/excel.c:2360:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘php_excel_write_cell’:\r\n/usr/src/php_excel/excel.c:2425:8: error: ‘IS_BOOL’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_write’:\r\n/usr/src/php_excel/excel.c:2449:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:2451:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_writeRow’:\r\n/usr/src/php_excel/excel.c:2482:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:2484:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:2500:3: warning: passing argument 2 of ‘zend_hash_get_current_data_ex’ from incompatible pointer type [enabled by default]\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend.h:36:0,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:35,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_hash.h:171:30: note: expected ‘HashPosition *’ but argument is of type ‘void **’\r\n/usr/src/php_excel/excel.c:2500:3: error: too many arguments to function ‘zend_hash_get_current_data_ex’\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend.h:36:0,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:35,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_hash.h:171:30: note: declared here\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_writeCol’:\r\n/usr/src/php_excel/excel.c:2533:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:2535:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:2551:3: warning: passing argument 2 of ‘zend_hash_get_current_data_ex’ from incompatible pointer type [enabled by default]\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend.h:36:0,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:35,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_hash.h:171:30: note: expected ‘HashPosition *’ but argument is of type ‘void **’\r\n/usr/src/php_excel/excel.c:2551:3: error: too many arguments to function ‘zend_hash_get_current_data_ex’\r\nIn file included from /opt/php/7.0.1/include/php/Zend/zend.h:36:0,\r\n                 from /opt/php/7.0.1/include/php/main/php.h:35,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_hash.h:171:30: note: declared here\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_isFormula’:\r\n/usr/src/php_excel/excel.c:2580:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_isDate’:\r\n/usr/src/php_excel/excel.c:2600:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_insertRow’:\r\n/usr/src/php_excel/excel.c:2618:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_insertCol’:\r\n/usr/src/php_excel/excel.c:2626:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_removeRow’:\r\n/usr/src/php_excel/excel.c:2634:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_removeCol’:\r\n/usr/src/php_excel/excel.c:2642:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_colWidth’:\r\n/usr/src/php_excel/excel.c:2662:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_rowHeight’:\r\n/usr/src/php_excel/excel.c:2670:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_readComment’:\r\n/usr/src/php_excel/excel.c:2687:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:2693:29: error: macro \"RETURN_STRING\" passed 2 arguments, but takes just 1\r\n/usr/src/php_excel/excel.c:2693:3: error: ‘RETURN_STRING’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_writeComment’:\r\n/usr/src/php_excel/excel.c:2711:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setColWidth’:\r\n/usr/src/php_excel/excel.c:2733:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:2736:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setRowHeight’:\r\n/usr/src/php_excel/excel.c:2770:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:2773:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_getMerge’:\r\n/usr/src/php_excel/excel.c:2805:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setMerge’:\r\n/usr/src/php_excel/excel.c:2831:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_deleteMerge’:\r\n/usr/src/php_excel/excel.c:2849:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_addPictureScaled’:\r\n/usr/src/php_excel/excel.c:2870:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_addPictureDim’:\r\n/usr/src/php_excel/excel.c:2889:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_horPageBreak’:\r\n/usr/src/php_excel/excel.c:2950:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_verPageBreak’:\r\n/usr/src/php_excel/excel.c:2958:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_splitSheet’:\r\n/usr/src/php_excel/excel.c:2974:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_groupRows’:\r\n/usr/src/php_excel/excel.c:2997:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_groupCols’:\r\n/usr/src/php_excel/excel.c:3005:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_clear’:\r\n/usr/src/php_excel/excel.c:3021:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_copy’:\r\n/usr/src/php_excel/excel.c:3039:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_firstRow’:\r\n/usr/src/php_excel/excel.c:3101:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_lastRow’:\r\n/usr/src/php_excel/excel.c:3109:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_firstCol’:\r\n/usr/src/php_excel/excel.c:3117:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_lastCol’:\r\n/usr/src/php_excel/excel.c:3125:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_displayGridlines’:\r\n/usr/src/php_excel/excel.c:3133:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_printGridlines’:\r\n/usr/src/php_excel/excel.c:3141:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setDisplayGridlines’:\r\n/usr/src/php_excel/excel.c:3149:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setHidden’:\r\n/usr/src/php_excel/excel.c:3166:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_isHidden’:\r\n/usr/src/php_excel/excel.c:3183:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_getTopLeftView’:\r\n/usr/src/php_excel/excel.c:3203:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setTopLeftView’:\r\n/usr/src/php_excel/excel.c:3225:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_rowColToAddr’:\r\n/usr/src/php_excel/excel.c:3246:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:3252:26: error: macro \"RETURN_STRING\" passed 2 arguments, but takes just 1\r\n/usr/src/php_excel/excel.c:3252:2: error: ‘RETURN_STRING’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_addrToRowCol’:\r\n/usr/src/php_excel/excel.c:3275:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setPrintGridlines’:\r\n/usr/src/php_excel/excel.c:3291:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_zoom’:\r\n/usr/src/php_excel/excel.c:3299:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_zoomPrint’:\r\n/usr/src/php_excel/excel.c:3307:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setZoom’:\r\n/usr/src/php_excel/excel.c:3315:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setZoomPrint’:\r\n/usr/src/php_excel/excel.c:3323:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setLandscape’:\r\n/usr/src/php_excel/excel.c:3331:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_landscape’:\r\n/usr/src/php_excel/excel.c:3339:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_paper’:\r\n/usr/src/php_excel/excel.c:3347:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setPaper’:\r\n/usr/src/php_excel/excel.c:3355:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_header’:\r\n/usr/src/php_excel/excel.c:3363:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:3363:1: error: macro \"RETURN_STRING\" passed 2 arguments, but takes just 1\r\n/usr/src/php_excel/excel.c:3363:1: error: ‘RETURN_STRING’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c:3363:1: error: expected ‘;’ before ‘}’ token\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_footer’:\r\n/usr/src/php_excel/excel.c:3371:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:3371:1: error: macro \"RETURN_STRING\" passed 2 arguments, but takes just 1\r\n/usr/src/php_excel/excel.c:3371:1: error: ‘RETURN_STRING’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c:3371:1: error: expected ‘;’ before ‘}’ token\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setHeader’:\r\n/usr/src/php_excel/excel.c:3393:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setFooter’:\r\n/usr/src/php_excel/excel.c:3401:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_headerMargin’:\r\n/usr/src/php_excel/excel.c:3409:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_footerMargin’:\r\n/usr/src/php_excel/excel.c:3417:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_hcenter’:\r\n/usr/src/php_excel/excel.c:3425:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_vcenter’:\r\n/usr/src/php_excel/excel.c:3433:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setHCenter’:\r\n/usr/src/php_excel/excel.c:3441:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setVCenter’:\r\n/usr/src/php_excel/excel.c:3449:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_marginLeft’:\r\n/usr/src/php_excel/excel.c:3457:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_marginRight’:\r\n/usr/src/php_excel/excel.c:3465:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_marginTop’:\r\n/usr/src/php_excel/excel.c:3473:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_marginBottom’:\r\n/usr/src/php_excel/excel.c:3481:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setMarginLeft’:\r\n/usr/src/php_excel/excel.c:3489:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setMarginRight’:\r\n/usr/src/php_excel/excel.c:3497:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setMarginTop’:\r\n/usr/src/php_excel/excel.c:3505:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setMarginBottom’:\r\n/usr/src/php_excel/excel.c:3513:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_printHeaders’:\r\n/usr/src/php_excel/excel.c:3521:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setPrintHeaders’:\r\n/usr/src/php_excel/excel.c:3529:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_name’:\r\n/usr/src/php_excel/excel.c:3537:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:3537:1: error: macro \"RETURN_STRING\" passed 2 arguments, but takes just 1\r\n/usr/src/php_excel/excel.c:3537:1: error: ‘RETURN_STRING’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c:3537:1: error: expected ‘;’ before ‘}’ token\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setName’:\r\n/usr/src/php_excel/excel.c:3554:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setNamedRange’:\r\n/usr/src/php_excel/excel.c:3592:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_delNamedRange’:\r\n/usr/src/php_excel/excel.c:3625:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setPrintRepeatRows’:\r\n/usr/src/php_excel/excel.c:3656:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setPrintRepeatCols’:\r\n/usr/src/php_excel/excel.c:3664:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_getGroupSummaryBelow’:\r\n/usr/src/php_excel/excel.c:3679:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setGroupSummaryBelow’:\r\n/usr/src/php_excel/excel.c:3696:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_getGroupSummaryRight’:\r\n/usr/src/php_excel/excel.c:3714:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setGroupSummaryRight’:\r\n/usr/src/php_excel/excel.c:3731:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setPrintFit’:\r\n/usr/src/php_excel/excel.c:3751:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_getPrintFit’:\r\n/usr/src/php_excel/excel.c:3770:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_getNamedRange’:\r\n/usr/src/php_excel/excel.c:3801:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_getIndexRange’:\r\n/usr/src/php_excel/excel.c:3841:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_namedRangeSize’:\r\n/usr/src/php_excel/excel.c:3873:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_getVerPageBreak’:\r\n/usr/src/php_excel/excel.c:3890:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_getVerPageBreakSize’:\r\n/usr/src/php_excel/excel.c:3906:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_getHorPageBreak’:\r\n/usr/src/php_excel/excel.c:3923:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_getHorPageBreakSize’:\r\n/usr/src/php_excel/excel.c:3939:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_getPictureInfo’:\r\n/usr/src/php_excel/excel.c:3958:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_getNumPictures’:\r\n/usr/src/php_excel/excel.c:3988:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_biffVersion’:\r\n/usr/src/php_excel/excel.c:4005:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_getRefR1C1’:\r\n/usr/src/php_excel/excel.c:4025:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_setRefR1C1’:\r\n/usr/src/php_excel/excel.c:4042:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_getPicture’:\r\n/usr/src/php_excel/excel.c:4063:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:4070:65: error: macro \"add_assoc_stringl\" passed 5 arguments, but takes just 4\r\n/usr/src/php_excel/excel.c:4070:2: error: ‘add_assoc_stringl’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_getNumPictures’:\r\n/usr/src/php_excel/excel.c:4086:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_insertSheet’:\r\n/usr/src/php_excel/excel.c:4108:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:4110:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:4120:25: error: lvalue required as left operand of assignment\r\n/usr/src/php_excel/excel.c:4123:2: error: ‘zval’ has no member named ‘is_ref’\r\n/usr/src/php_excel/excel.c:4124:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_isTemplate’:\r\n/usr/src/php_excel/excel.c:4144:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_setTemplate’:\r\n/usr/src/php_excel/excel.c:4161:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_getRightToLeft’:\r\n/usr/src/php_excel/excel.c:4177:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setRightToLeft’:\r\n/usr/src/php_excel/excel.c:4194:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setPrintArea’:\r\n/usr/src/php_excel/excel.c:4220:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_clearPrintRepeats’:\r\n/usr/src/php_excel/excel.c:4237:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_clearPrintArea’:\r\n/usr/src/php_excel/excel.c:4255:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_protect’:\r\n/usr/src/php_excel/excel.c:4267:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setProtect’:\r\n/usr/src/php_excel/excel.c:4275:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_hyperlinkSize’:\r\n/usr/src/php_excel/excel.c:4291:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_hyperlink’:\r\n/usr/src/php_excel/excel.c:4310:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c:4319:58: error: macro \"add_assoc_string\" passed 4 arguments, but takes just 3\r\n/usr/src/php_excel/excel.c:4319:2: error: ‘add_assoc_string’ undeclared (first use in this function)\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_delHyperlink’:\r\n/usr/src/php_excel/excel.c:4343:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_addHyperlink’:\r\n/usr/src/php_excel/excel.c:4362:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_mergeSize’:\r\n/usr/src/php_excel/excel.c:4380:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_merge’:\r\n/usr/src/php_excel/excel.c:4402:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_delMergeByIndex’:\r\n/usr/src/php_excel/excel.c:4432:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_splitInfo’:\r\n/usr/src/php_excel/excel.c:4445:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_rowHidden’:\r\n/usr/src/php_excel/excel.c:4473:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setRowHidden’:\r\n/usr/src/php_excel/excel.c:4495:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_colHidden’:\r\n/usr/src/php_excel/excel.c:4516:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_setColHidden’:\r\n/usr/src/php_excel/excel.c:4538:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelSheet_isLicensed’:\r\n/usr/src/php_excel/excel.c:4552:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zim_ExcelBook_sheetType’:\r\n/usr/src/php_excel/excel.c:4587:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n/usr/src/php_excel/excel.c: In function ‘zm_startup_excel’:\r\n/usr/src/php_excel/excel.c:5918:2: warning: assignment from incompatible pointer type [enabled by default]\r\n/usr/src/php_excel/excel.c:5918:2: error: too many arguments to function ‘zend_register_internal_class_ex’\r\nIn file included from /opt/php/7.0.1/include/php/main/php.h:39:0,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_API.h:290:28: note: declared here\r\n/usr/src/php_excel/excel.c:5919:2: warning: assignment from incompatible pointer type [enabled by default]\r\n/usr/src/php_excel/excel.c:5919:2: error: too many arguments to function ‘zend_register_internal_class_ex’\r\nIn file included from /opt/php/7.0.1/include/php/main/php.h:39:0,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_API.h:290:28: note: declared here\r\n/usr/src/php_excel/excel.c:5920:2: warning: assignment from incompatible pointer type [enabled by default]\r\n/usr/src/php_excel/excel.c:5920:2: error: too many arguments to function ‘zend_register_internal_class_ex’\r\nIn file included from /opt/php/7.0.1/include/php/main/php.h:39:0,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_API.h:290:28: note: declared here\r\n/usr/src/php_excel/excel.c:5920:2: warning: assignment from incompatible pointer type [enabled by default]\r\n/usr/src/php_excel/excel.c:5921:2: warning: assignment from incompatible pointer type [enabled by default]\r\n/usr/src/php_excel/excel.c:5921:2: error: too many arguments to function ‘zend_register_internal_class_ex’\r\nIn file included from /opt/php/7.0.1/include/php/main/php.h:39:0,\r\n                 from /usr/src/php_excel/excel.c:26:\r\n/opt/php/7.0.1/include/php/Zend/zend_API.h:290:28: note: declared here\r\n/usr/src/php_excel/excel.c:5921:2: warning: assignment from incompatible pointer type [enabled by default]\r\nmake: *** [excel.lo] Error 1\r\n```"},"comment":{"url":"https://api.github.com/repos/iliaal/php_excel/issues/comments/196276447","html_url":"https://github.com/iliaal/php_excel/issues/148#issuecomment-196276447","issue_url":"https://api.github.com/repos/iliaal/php_excel/issues/148","id":196276447,"user":{"login":"youngvan","id":1913479,"avatar_url":"https://avatars.githubusercontent.com/u/1913479?v=3","gravatar_id":"","url":"https://api.github.com/users/youngvan","html_url":"https://github.com/youngvan","followers_url":"https://api.github.com/users/youngvan/followers","following_url":"https://api.github.com/users/youngvan/following{/other_user}","gists_url":"https://api.github.com/users/youngvan/gists{/gist_id}","starred_url":"https://api.github.com/users/youngvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youngvan/subscriptions","organizations_url":"https://api.github.com/users/youngvan/orgs","repos_url":"https://api.github.com/users/youngvan/repos","events_url":"https://api.github.com/users/youngvan/events{/privacy}","received_events_url":"https://api.github.com/users/youngvan/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T11:50:33Z","updated_at":"2016-03-14T11:50:33Z","body":"PHP7 crash if you pass valid name/key in Object constructor\r\n\r\nTony2001 suggested next fix:\r\nhttps://gist.github.com/tony2001/391f7728dddeecc8cc34"}}