|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2016-02-15 09:27 UTC] tony2001@php.net
 
-Status: Open
+Status: Not a bug
  [2016-02-15 09:27 UTC] tony2001@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Sun Oct 26 15:00:01 2025 UTC | 
Description: ------------ I've unpacked the sphinx-1.3.3 extension try to ./configure and make $ make /bin/bash /usr/local/php-exts/sphinx-1.3.3/libtool --mode=compile cc -I. -I/usr/local/php-exts/sphinx-1.3.3 -DPHP_ATOM_INC -I/usr/local/php-exts/sphinx-1.3.3/include -I/usr/local/php-exts/sphinx-1.3.3/main -I/usr/local/php-exts/sphinx-1.3.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/php-exts/sphinx-1.3.3/sphinx.c -o sphinx.lo mkdir .libs cc -I. -I/usr/local/php-exts/sphinx-1.3.3 -DPHP_ATOM_INC -I/usr/local/php-exts/sphinx-1.3.3/include -I/usr/local/php-exts/sphinx-1.3.3/main -I/usr/local/php-exts/sphinx-1.3.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/php-exts/sphinx-1.3.3/sphinx.c -fPIC -DPIC -o .libs/sphinx.o /usr/local/php-exts/sphinx-1.3.3/sphinx.c:72:1: error: unknown type name 'zend_object_value' static zend_object_value php_sphinx_client_new(zend_class_entry *ce TSRMLS_DC) /* {{{ */ ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'php_sphinx_client_new': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:75:2: error: unknown type name 'zend_object_value' zend_object_value retval; ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:90:8: error: request for member 'handle' in something not a structure or union retval.handle = zend_objects_store_put(c, (zend_objects_store_dtor_t)zend_objects_destroy_object, php_sphinx_client_obj_dtor, NULL TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:90:45: error: 'zend_objects_store_dtor_t' undeclared (first use in this function) retval.handle = zend_objects_store_put(c, (zend_objects_store_dtor_t)zend_objects_destroy_object, php_sphinx_client_obj_dtor, NULL TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:90:45: note: each undeclared identifier is reported only once for each function it appears in /usr/local/php-exts/sphinx-1.3.3/sphinx.c:90:71: error: expected ')' before 'zend_objects_destroy_object' retval.handle = zend_objects_store_put(c, (zend_objects_store_dtor_t)zend_objects_destroy_object, php_sphinx_client_obj_dtor, NULL TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:90:71: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [enabled by default] In file included from /usr/local/include/php/Zend/zend_globals.h:35:0, from /usr/local/include/php/Zend/zend_compile.h:657, from /usr/local/include/php/Zend/zend_modules.h:26, from /usr/local/include/php/Zend/zend_API.h:27, from /usr/local/include/php/main/php.h:39, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_objects_API.h:58:15: note: expected 'struct zend_object *' but argument is of type 'struct php_sphinx_client *' ZEND_API void zend_objects_store_put(zend_object *object); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:90:71: error: too many arguments to function 'zend_objects_store_put' retval.handle = zend_objects_store_put(c, (zend_objects_store_dtor_t)zend_objects_destroy_object, php_sphinx_client_obj_dtor, NULL TSRMLS_CC); ^ In file included from /usr/local/include/php/Zend/zend_globals.h:35:0, from /usr/local/include/php/Zend/zend_compile.h:657, from /usr/local/include/php/Zend/zend_modules.h:26, from /usr/local/include/php/Zend/zend_API.h:27, from /usr/local/include/php/main/php.h:39, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_objects_API.h:58:15: note: declared here ZEND_API void zend_objects_store_put(zend_object *object); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:91:8: error: request for member 'handlers' in something not a structure or union retval.handlers = &php_sphinx_client_handlers; ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'php_sphinx_client_read_property': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:106:12: error: 'zval' has no member named 'type' if (member->type != IS_STRING) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:119:2: error: too few arguments to function 'std_hnd->read_property' retval = std_hnd->read_property(object, member, type TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'php_sphinx_client_get_properties': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:136:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_objects_get_address(object TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:142:35: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(tmp, (char *)error, 1); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:142:2: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(tmp, (char *)error, 1); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:143:86: error: macro "zend_hash_update" passed 6 arguments, but takes just 3 zend_hash_update(props, "error", sizeof("error"), (void *)&tmp, sizeof(zval *), NULL); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:143:2: error: 'zend_hash_update' undeclared (first use in this function) zend_hash_update(props, "error", sizeof("error"), (void *)&tmp, sizeof(zval *), NULL); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:147:37: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(tmp, (char *)warning, 1); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:148:90: error: macro "zend_hash_update" passed 6 arguments, but takes just 3 zend_hash_update(props, "warning", sizeof("warning"), (void *)&tmp, sizeof(zval *), NULL); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'php_sphinx_result_to_array': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:177:3: error: too many arguments to function 'add_assoc_string_ex' add_assoc_string_ex(*array, "error", sizeof("error"), "", 1); ^ In file included from /usr/local/include/php/main/php.h:39:0, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_API.h:396:14: note: declared here ZEND_API int add_assoc_string_ex(zval *arg, const char *key, size_t key_len, char *str); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:179:3: error: too many arguments to function 'add_assoc_string_ex' add_assoc_string_ex(*array, "error", sizeof("error"), (char *)(result->error), 1); ^ In file included from /usr/local/include/php/main/php.h:39:0, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_API.h:396:14: note: declared here ZEND_API int add_assoc_string_ex(zval *arg, const char *key, size_t key_len, char *str); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:184:3: error: too many arguments to function 'add_assoc_string_ex' add_assoc_string_ex(*array, "warning", sizeof("warning"), "", 1); ^ In file included from /usr/local/include/php/main/php.h:39:0, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_API.h:396:14: note: declared here ZEND_API int add_assoc_string_ex(zval *arg, const char *key, size_t key_len, char *str); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:186:3: error: too many arguments to function 'add_assoc_string_ex' add_assoc_string_ex(*array, "warning", sizeof("warning"), (char *)result->warning, 1); ^ In file included from /usr/local/include/php/main/php.h:39:0, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_API.h:396:14: note: declared here ZEND_API int add_assoc_string_ex(zval *arg, const char *key, size_t key_len, char *str); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:210:3: error: too many arguments to function 'add_next_index_string' add_next_index_string(tmp, result->fields[i], 1); ^ In file included from /usr/local/include/php/main/php.h:39:0, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_API.h:432:14: note: declared here ZEND_API int add_next_index_string(zval *arg, const char *str); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:303:70: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(sub_sub_element, sphinx_get_string(result, i, j), 1); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:303:7: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(sub_sub_element, sphinx_get_string(result, i, j), 1); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient___construct': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:374:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setServer': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:399:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setLimits': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:421:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setMatchMode': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:443:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setIndexWeights': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:470:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:486:66: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(Z_ARRVAL_P(weights), (void **)&item) != FAILURE; ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:486:4: error: 'zend_hash_get_current_data' undeclared (first use in this function) zend_hash_get_current_data(Z_ARRVAL_P(weights), (void **)&item) != FAILURE; ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:489:3: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] if (zend_hash_get_current_key_ex(Z_ARRVAL_P(weights), &string_key, &string_key_len, &num_key, 0, NULL) != HASH_KEY_IS_STRING) { ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:168:30: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:489:3: warning: passing argument 3 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] if (zend_hash_get_current_key_ex(Z_ARRVAL_P(weights), &string_key, &string_key_len, &num_key, 0, NULL) != HASH_KEY_IS_STRING) { ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:168:30: note: expected 'zend_ulong *' but argument is of type 'unsigned int *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:489:3: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] if (zend_hash_get_current_key_ex(Z_ARRVAL_P(weights), &string_key, &string_key_len, &num_key, 0, NULL) != HASH_KEY_IS_STRING) { ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:168:30: note: expected 'HashPosition *' but argument is of type 'long unsigned int *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:489:3: error: too many arguments to function 'zend_hash_get_current_key_ex' if (zend_hash_get_current_key_ex(Z_ARRVAL_P(weights), &string_key, &string_key_len, &num_key, 0, NULL) != HASH_KEY_IS_STRING) { ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:168:30: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:494:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_long_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:494:3: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [enabled by default] convert_to_long_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:341:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_operators.h:244:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setSelect': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:531:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setIDRange': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:554:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setFilter': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:579:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:590:66: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(Z_ARRVAL_P(values), (void **) &item) != FAILURE; ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:590:4: error: 'zend_hash_get_current_data' undeclared (first use in this function) zend_hash_get_current_data(Z_ARRVAL_P(values), (void **) &item) != FAILURE; ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:593:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_double_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:593:3: warning: passing argument 1 of 'convert_to_double' from incompatible pointer type [enabled by default] convert_to_double_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:341:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_operators.h:245:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_double(zval *op); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setFilterRange': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:646:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setFilterFloatRange': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:671:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setGeoAnchor': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:695:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setGroupBy': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:728:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setGroupDistinct': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:751:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setRetries': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:774:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setMaxQueryTime': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:797:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setRankingMode': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:822:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setFieldWeights': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:874:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:890:66: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(Z_ARRVAL_P(weights), (void **)&item) != FAILURE; ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:890:4: error: 'zend_hash_get_current_data' undeclared (first use in this function) zend_hash_get_current_data(Z_ARRVAL_P(weights), (void **)&item) != FAILURE; ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:893:3: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] if (zend_hash_get_current_key_ex(Z_ARRVAL_P(weights), &string_key, &string_key_len, &num_key, 0, NULL) != HASH_KEY_IS_STRING) { ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:168:30: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:893:3: warning: passing argument 3 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] if (zend_hash_get_current_key_ex(Z_ARRVAL_P(weights), &string_key, &string_key_len, &num_key, 0, NULL) != HASH_KEY_IS_STRING) { ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:168:30: note: expected 'zend_ulong *' but argument is of type 'unsigned int *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:893:3: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] if (zend_hash_get_current_key_ex(Z_ARRVAL_P(weights), &string_key, &string_key_len, &num_key, 0, NULL) != HASH_KEY_IS_STRING) { ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:168:30: note: expected 'HashPosition *' but argument is of type 'long unsigned int *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:893:3: error: too many arguments to function 'zend_hash_get_current_key_ex' if (zend_hash_get_current_key_ex(Z_ARRVAL_P(weights), &string_key, &string_key_len, &num_key, 0, NULL) != HASH_KEY_IS_STRING) { ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:168:30: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:898:3: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_long_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:898:3: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [enabled by default] convert_to_long_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:341:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_operators.h:244:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setSortMode': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:935:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setConnectTimeout': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:958:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_setArrayResult': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:980:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_updateAttributes': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1018:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1037:70: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(Z_ARRVAL_P(attributes), (void **) &item) != FAILURE; ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1037:4: error: 'zend_hash_get_current_data' undeclared (first use in this function) zend_hash_get_current_data(Z_ARRVAL_P(attributes), (void **) &item) != FAILURE; ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1043:12: warning: assignment makes pointer from integer without a cast [enabled by default] attrs[a] = Z_STRVAL_PP(item); /* no copying here! */ ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1058:66: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(Z_ARRVAL_P(values), (void **) &item) != FAILURE; ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:212:6: error: invalid type argument of '->' (have 'int') (ht)->nNumOfElements ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1073:7: note: in expansion of macro 'zend_hash_num_elements' if (zend_hash_num_elements(Z_ARRVAL_PP(item)) != attrs_num) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1078:3: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(values), &str_id, &str_id_len, &id, 0, NULL); ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:168:30: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1078:3: warning: passing argument 3 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(values), &str_id, &str_id_len, &id, 0, NULL); ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:168:30: note: expected 'zend_ulong *' but argument is of type 'uint *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1078:3: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(values), &str_id, &str_id_len, &id, 0, NULL); ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:168:30: note: expected 'HashPosition *' but argument is of type 'ulong *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1078:3: error: too many arguments to function 'zend_hash_get_current_key_ex' key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(values), &str_id, &str_id_len, &id, 0, NULL); ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:168:30: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /usr/local/include/php/Zend/zend_hash.h:190:47: error: invalid type argument of '->' (have 'int') zend_hash_internal_pointer_reset_ex(ht, &(ht)->nInternalPointer) ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1103:8: note: in expansion of macro 'zend_hash_internal_pointer_reset' for (zend_hash_internal_pointer_reset(Z_ARRVAL_PP(item)); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1103:3: warning: passing argument 1 of 'zend_hash_internal_pointer_reset_ex' makes pointer from integer without a cast [enabled by default] for (zend_hash_internal_pointer_reset(Z_ARRVAL_PP(item)); ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:172:30: note: expected 'struct HashTable *' but argument is of type 'int' ZEND_API void ZEND_FASTCALL zend_hash_internal_pointer_reset_ex(HashTable *ht, HashPosition *pos); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1104:72: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(Z_ARRVAL_PP(item), (void **) &attr_value) != FAILURE; ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:178:37: error: invalid type argument of '->' (have 'int') zend_hash_move_forward_ex(ht, &(ht)->nInternalPointer) ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1105:5: note: in expansion of macro 'zend_hash_move_forward' zend_hash_move_forward(Z_ARRVAL_PP(item))) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1105:5: warning: passing argument 1 of 'zend_hash_move_forward_ex' makes pointer from integer without a cast [enabled by default] In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:166:30: note: expected 'struct HashTable *' but argument is of type 'int' ZEND_API int ZEND_FASTCALL zend_hash_move_forward_ex(HashTable *ht, HashPosition *pos); ^ /usr/local/include/php/Zend/zend_hash.h:212:6: error: invalid type argument of '->' (have 'int') (ht)->nNumOfElements ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1113:22: note: in expansion of macro 'zend_hash_num_elements' values_mva_num = zend_hash_num_elements(Z_ARRVAL_PP(attr_value)); ^ /usr/local/include/php/Zend/zend_hash.h:190:47: error: invalid type argument of '->' (have 'int') zend_hash_internal_pointer_reset_ex(ht, &(ht)->nInternalPointer) ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1123:10: note: in expansion of macro 'zend_hash_internal_pointer_reset' for (zend_hash_internal_pointer_reset(Z_ARRVAL_PP(attr_value)); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1123:5: warning: passing argument 1 of 'zend_hash_internal_pointer_reset_ex' makes pointer from integer without a cast [enabled by default] for (zend_hash_internal_pointer_reset(Z_ARRVAL_PP(attr_value)); ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:172:30: note: expected 'struct HashTable *' but argument is of type 'int' ZEND_API void ZEND_FASTCALL zend_hash_internal_pointer_reset_ex(HashTable *ht, HashPosition *pos); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1124:84: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(Z_ARRVAL_PP(attr_value), (void **) &attr_value_mva) != FAILURE; ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:178:37: error: invalid type argument of '->' (have 'int') zend_hash_move_forward_ex(ht, &(ht)->nInternalPointer) ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1125:7: note: in expansion of macro 'zend_hash_move_forward' zend_hash_move_forward(Z_ARRVAL_PP(attr_value))) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1125:7: warning: passing argument 1 of 'zend_hash_move_forward_ex' makes pointer from integer without a cast [enabled by default] In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:166:30: note: expected 'struct HashTable *' but argument is of type 'int' ZEND_API int ZEND_FASTCALL zend_hash_move_forward_ex(HashTable *ht, HashPosition *pos); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c: In function 'zim_SphinxClient_buildExcerpts': /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1212:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c = (php_sphinx_client *)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1224:70: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(Z_ARRVAL_P(docs_array), (void **) &item) != FAILURE; ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1224:4: error: 'zend_hash_get_current_data' undeclared (first use in this function) zend_hash_get_current_data(Z_ARRVAL_P(docs_array), (void **) &item) != FAILURE; ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1230:11: warning: assignment makes pointer from integer without a cast [enabled by default] docs[i] = Z_STRVAL_PP(item); /* no copying here! */ ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1249:71: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(Z_ARRVAL_P(opts_array), (void **) &item) != FAILURE; ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1255:10: error: 'IS_BOOL' undeclared (first use in this function) case IS_BOOL: ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1261:4: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] if (zend_hash_get_current_key_ex(Z_ARRVAL_P(opts_array), &string_key, &string_key_len, &dummy, 0, NULL) != HASH_KEY_IS_STRING) { ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:168:30: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1261:4: warning: passing argument 3 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] if (zend_hash_get_current_key_ex(Z_ARRVAL_P(opts_array), &string_key, &string_key_len, &dummy, 0, NULL) != HASH_KEY_IS_STRING) { ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:168:30: note: expected 'zend_ulong *' but argument is of type 'unsigned int *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1261:4: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] if (zend_hash_get_current_key_ex(Z_ARRVAL_P(opts_array), &string_key, &string_key_len, &dummy, 0, NULL) != HASH_KEY_IS_STRING) { ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:168:30: note: expected 'HashPosition *' but argument is of type 'ulong *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1261:4: error: too many arguments to function 'zend_hash_get_current_key_ex' if (zend_hash_get_current_key_ex(Z_ARRVAL_P(opts_array), &string_key, &string_key_len, &dummy, 0, NULL) != HASH_KEY_IS_STRING) { ^ In file included from /usr/local/include/php/Zend/zend.h:36:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_hash.h:168:30: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:948:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1266:5: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(item); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1267:5: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1267:5: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1267:5: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default] convert_to_string_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:341:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_operators.h:243:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1268:23: warning: assignment makes pointer from integer without a cast [enabled by default] opts.before_match = Z_STRVAL_PP(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:948:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1270:5: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(item); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1271:5: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1271:5: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1271:5: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default] convert_to_string_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:341:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_operators.h:243:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1272:22: warning: assignment makes pointer from integer without a cast [enabled by default] opts.after_match = Z_STRVAL_PP(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:948:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1274:5: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(item); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1275:5: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1275:5: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_string_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1275:5: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type [enabled by default] convert_to_string_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:341:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_operators.h:243:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op ZEND_FILE_LINE_DC); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1276:26: warning: assignment makes pointer from integer without a cast [enabled by default] opts.chunk_separator = Z_STRVAL_PP(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:948:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1278:5: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(item); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1279:5: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_long_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1279:5: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [enabled by default] convert_to_long_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:341:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_operators.h:244:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:948:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1282:5: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(item); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1283:5: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_long_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1283:5: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [enabled by default] convert_to_long_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:341:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_operators.h:244:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:948:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1286:5: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(item); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1287:5: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_boolean_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1287:5: warning: passing argument 1 of 'convert_to_boolean' from incompatible pointer type [enabled by default] convert_to_boolean_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:341:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_operators.h:248:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_boolean(zval *op); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:948:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1290:5: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(item); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1291:5: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_boolean_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1291:5: warning: passing argument 1 of 'convert_to_boolean' from incompatible pointer type [enabled by default] convert_to_boolean_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:341:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_operators.h:248:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_boolean(zval *op); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:948:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1294:5: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(item); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1295:5: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_boolean_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1295:5: warning: passing argument 1 of 'convert_to_boolean' from incompatible pointer type [enabled by default] convert_to_boolean_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:341:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_operators.h:248:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_boolean(zval *op); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:948:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1298:5: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(item); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1299:5: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_boolean_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1299:5: warning: passing argument 1 of 'convert_to_boolean' from incompatible pointer type [enabled by default] convert_to_boolean_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:341:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_operators.h:248:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_boolean(zval *op); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:948:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1303:5: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(item); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1304:5: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_boolean_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1304:5: warning: passing argument 1 of 'convert_to_boolean' from incompatible pointer type [enabled by default] convert_to_boolean_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:341:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_operators.h:248:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_boolean(zval *op); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:948:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1307:5: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(item); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1308:5: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_boolean_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1308:5: warning: passing argument 1 of 'convert_to_boolean' from incompatible pointer type [enabled by default] convert_to_boolean_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:341:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_operators.h:248:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_boolean(zval *op); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:948:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv = (zv); \ ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1311:5: note: in expansion of macro 'SEPARATE_ZVAL' SEPARATE_ZVAL(item); ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1312:5: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] convert_to_long_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:326:38: note: expected 'const struct zval *' but argument is of type 'struct zval **' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /usr/local/php-exts/sphinx-1.3.3/sphinx.c:1312:5: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type [enabled by default] convert_to_long_ex(item); ^ In file included from /usr/local/include/php/Zend/zend.h:341:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_operators.h:244:29: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); ^ In file included from /usr/local/include/php/Zend/zend.h:31:0, from /usr/local/include/php/main/php.h:35, from /usr/local/php-exts/sphinx-1.3.3/sphinx.c:26: /usr/local/include/php/Zend/zend_types.h:948:15: warning: initialization from incompatible pointer type [enabled by default] zval *_zv