-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
php74 不支持 #162
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hp_pcre_match_impl(cache, subject, strlen(subject), result, subpats, 0, 0, 0, 0 TSRMLS_CC);
^~~~~~~
In file included from /usr/src/php/ext/molten/molten_intercept.h:38,
from /usr/src/php/ext/molten/molten_intercept.c:16:
/usr/local/include/php/ext/pcre/php_pcre.h:45:70: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, zend_string *subject_str, zval *return_value,
~~~~~~~~~~~~~^~~~~~~~~~~
/usr/src/php/ext/molten/molten_intercept.c:338:45: warning: passing argument 3 of 'php_pcre_match_impl' makes pointer from integer without a cast [-Wint-conversion]
php_pcre_match_impl(cache, subject, strlen(subject), result, subpats, 0, 0, 0, 0 TSRMLS_CC);
^~~~~~~~~~~~~~~
In file included from /usr/src/php/ext/molten/molten_intercept.h:38,
from /usr/src/php/ext/molten/molten_intercept.c:16:
/usr/local/include/php/ext/pcre/php_pcre.h:45:89: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'size_t' {aka 'long unsigned int'}
PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, zend_string *subject_str, zval *return_value,
~~~~~~^~~~~~~~~~~~
/usr/src/php/ext/molten/molten_intercept.c:338:70: warning: passing argument 5 of 'php_pcre_match_impl' makes integer from pointer without a cast [-Wint-conversion]
php_pcre_match_impl(cache, subject, strlen(subject), result, subpats, 0, 0, 0, 0 TSRMLS_CC);
^~~~~~~
In file included from /usr/src/php/ext/molten/molten_intercept.h:38,
from /usr/src/php/ext/molten/molten_intercept.c:16:
/usr/local/include/php/ext/pcre/php_pcre.h:46:21: note: expected 'int' but argument is of type 'zval *' {aka 'struct _zval_struct *'}
zval *subpats, int global, int use_flags, zend_long flags, zend_off_t start_offset);
~~~~^~~~~~
/usr/src/php/ext/molten/molten_intercept.c:338:9: error: too many arguments to function 'php_pcre_match_impl'
php_pcre_match_impl(cache, subject, strlen(subject), result, subpats, 0, 0, 0, 0 TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/php/ext/molten/molten_intercept.h:38,
from /usr/src/php/ext/molten/molten_intercept.c:16:
/usr/local/include/php/ext/pcre/php_pcre.h:45:14: note: declared here
PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, zend_string *subject_str, zval *return_value,
^~~~~~~~~~~~~~~~~~~
/usr/src/php/ext/molten/molten_intercept.c: In function 'mongodb_record':
/usr/src/php/ext/molten/molten_intercept.c:1174:29: warning: implicit declaration of function 'Z_OBJDEBUG_P'; did you mean 'Z_OBJCE_P'? [-Wimplicit-function-declaration]
HashTable *debug_hash = Z_OBJDEBUG_P(obj, is_temp);
^~~~~~~~~~~~
Z_OBJCE_P
/usr/src/php/ext/molten/molten_intercept.c:1174:29: warning: initialization of 'HashTable *' {aka 'struct _zend_array *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
/usr/src/php/ext/molten/molten_intercept.c: In function 'mongodb_server_record':
/usr/src/php/ext/molten/molten_intercept.c:1211:29: warning: initialization of 'HashTable *' {aka 'struct _zend_array *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
HashTable *debug_hash = Z_OBJDEBUG_P(obj, is_temp);
^~~~~~~~~~~~
/usr/src/php/ext/molten/molten_intercept.c: In function 'es_request_record':
/usr/src/php/ext/molten/molten_intercept.c:1345:94: warning: passing argument 6 of 'pit->psb->span_add_ba' from incompatible pointer type [-Wincompatible-pointer-types]
pit->psb->span_add_ba(span, "sa", "true", frame->exit_time, "es", url->host, url->port, BA_SA);
~~~^~~~~~
/usr/src/php/ext/molten/molten_intercept.c:1345:94: note: expected 'char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'}
/usr/src/php/ext/molten/molten_intercept.c: In function 'convert_args_to_string':
/usr/src/php/ext/molten/molten_intercept.c:101:14: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=]
string = strncat(string, " ", 1);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/src/php/ext/molten/molten_intercept.c:117:22: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=]
string = strncat(string, ",", 1);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/src/php/ext/molten/molten_intercept.c:124:18: warning: 'strncat' specified bound 3 equals source length [-Wstringop-overflow=]
string = strncat(string, ARGS_ELLIPSIS, ARGS_ELLIPSIS_LEN);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: