Re: Test results
| From: | (Michael Mauch) | Date: | Fri, 01 Nov 2002 22:19:29 +0000 |
| Subject: | Re: Test results | ||
| References: | 1 2 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-6569@lists.php.net to get a copy of this message | ||
Moriyoshi Koizumi <moriyoshi@at.wakwak.com> wrote:
> Please see the attached file if you are interested. That contains the
> related part of the result sent by Michael.
> It looks rather strange to me if this is just an endianness issue...
>
> Anyway we have to see test results on other BE systems.
Maybe the warnings below point in the right direction? These are only
the ones in mbstring/*, there are lots of these messages in other parts
of the PHP source. I'll try the -unsigned switch of that "Compaq C
V6.3-025 on Compaq Tru64 UNIX V5.1 (Rev. 732)", maybe it becomes a bit
happier then.
Regards...
Michael
cc -Iext/mbstring/ -I/house/elmicha/local/src/php4-200210311500/ext/mbstring/ -DPHP_ATOM_INC
-I/house/elmicha/local/src/php4-200210311500/include
-I/house/elmicha/local/src/php4-200210311500/main -I/house/elmicha/local/src/php4-200210311500
-I/house/elmicha/local/src/php4-200210311500/Zend
-I/house/elmicha/local/src/php4-200210311500/ext/xml/expat
-I/house/elmicha/local/src/php4-200210311500/TSRM -g -c
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c -o ext/mbstring/mbfilter.o
&& echo > ext/mbstring/mbfilter.lo
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c, line 2945: In this
statement, the referenced type of the pointer value "psrc" is "const char",
which is not compatible with "const unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
p = psrc;
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c, line 2962: In this
statement, the referenced type of the pointer value "psrc" is "const char",
which is not compatible with "const unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
p = psrc;
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c, line 6921: In this
statement, the referenced type of the pointer value ""U+"" is "char",
which is not compatible with "const unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
ret = mbfl_convert_filter_strcat(filter, "U+" TSRMLS_CC);
-------------------------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c, line 6927: In this
statement, the referenced type of the pointer value ""JIS+"" is
"char", which is not compatible with "const unsigned char" because they differ
by signed/unsigned attribute. (ptrmismatch1)
ret = mbfl_convert_filter_strcat(filter, "JIS+" TSRMLS_CC);
-----------------------------------------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c, line 6930: In this
statement, the referenced type of the pointer value ""JIS2+"" is
"char", which is not compatible with "const unsigned char" because they differ
by signed/unsigned attribute. (ptrmismatch1)
ret = mbfl_convert_filter_strcat(filter, "JIS2+" TSRMLS_CC);
-----------------------------------------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c, line 6933: In this
statement, the referenced type of the pointer value ""W932+"" is
"char", which is not compatible with "const unsigned char" because they differ
by signed/unsigned attribute. (ptrmismatch1)
ret = mbfl_convert_filter_strcat(filter, "W932+" TSRMLS_CC);
-----------------------------------------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c, line 6936: In this
statement, the referenced type of the pointer value ""I8859_1+"" is
"char", which is not compatible with "const unsigned char" because they differ
by signed/unsigned attribute. (ptrmismatch1)
ret = mbfl_convert_filter_strcat(filter, "I8859_1+" TSRMLS_CC);
-----------------------------------------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c, line 6939: In this
statement, the referenced type of the pointer value ""?+"" is "char",
which is not compatible with "const unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
ret = mbfl_convert_filter_strcat(filter, "?+" TSRMLS_CC);
-----------------------------------------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c, line 6944: In this
statement, the referenced type of the pointer value ""BAD+"" is
"char", which is not compatible with "const unsigned char" because they differ
by signed/unsigned attribute. (ptrmismatch1)
ret = mbfl_convert_filter_strcat(filter, "BAD+" TSRMLS_CC);
---------------------------------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c, line 7723: In this
statement, the referenced type of the pointer value "pc->needle.buffer" is
"unsigned int", which is not compatible with "int" because they differ by
signed/unsigned attribute. (ptrmismatch1)
h = pc->needle.buffer;
------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c, line 7728: In this
statement, the referenced type of the pointer value "pc->needle.buffer" is
"unsigned int", which is not compatible with "int" because they differ by
signed/unsigned attribute. (ptrmismatch1)
m = pc->needle.buffer;
--------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c, line 9103: In this
statement, the referenced type of the pointer value
"&pd->tmpdev.buffer[pd->cspos]" is "unsigned char", which is not
compatible with "const char" because they differ by signed/unsigned attribute.
(ptrmismatch1)
encoding = mbfl_name2encoding(&pd->tmpdev.buffer[pd->cspos]);
------------------------------------------------------^
cc -Iext/mbstring/ -I/house/elmicha/local/src/php4-200210311500/ext/mbstring/ -DPHP_ATOM_INC
-I/house/elmicha/local/src/php4-200210311500/include
-I/house/elmicha/local/src/php4-200210311500/main -I/house/elmicha/local/src/php4-200210311500
-I/house/elmicha/local/src/php4-200210311500/Zend
-I/house/elmicha/local/src/php4-200210311500/ext/xml/expat
-I/house/elmicha/local/src/php4-200210311500/TSRM -g -c
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c -o ext/mbstring/mbstring.o
&& echo > ext/mbstring/mbstring.lo
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 1426: In this
statement, the referenced type of the pointer value "val_list[n]" is "char",
which is not compatible with "unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
string.val = val_list[n];
--------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 1456: In this
statement, the referenced type of the pointer value "val_list[n]" is "char",
which is not compatible with "unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
string.val = val_list[n];
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 1459: In this
statement, the referenced type of the pointer value "resvar.val" is "unsigned
char", which is not compatible with "char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
var = resvar.val;
------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 1464: In this
statement, the referenced type of the pointer value "val_list[n]" is "char",
which is not compatible with "unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
string.val = val_list[n];
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 1467: In this
statement, the referenced type of the pointer value "resval.val" is "unsigned
char", which is not compatible with "char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
val = resval.val;
------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 1741: In this
statement, the referenced type of the pointer value "str_list[n]" is "char",
which is not compatible with "unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
string.val = str_list[n];
--------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 1778: In this
statement, the referenced type of the pointer value "str_list[n]" is "char",
which is not compatible with "unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
string.val = str_list[n];
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 1781: In this
statement, the referenced type of the pointer value "resvar.val" is "unsigned
char", which is not compatible with "char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
var = resvar.val;
------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 1787: In this
statement, the referenced type of the pointer value "str_list[n]" is "char",
which is not compatible with "unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
string.val = str_list[n];
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 1790: In this
statement, the referenced type of the pointer value "resval.val" is "unsigned
char", which is not compatible with "char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
val = resval.val;
------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 1893: In this
statement, the referenced type of the pointer value "arg_string" is "char",
which is not compatible with "unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
string.val = arg_string;
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 1901: In the
initializer for __s, the referenced type of the pointer value "(result.val)" is
"unsigned char", which is not compatible with "char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
RETVAL_STRINGL(result.val, result.len, 0); /* the string is already strdup()'ed */
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 1940: In this
statement, the referenced type of the pointer value "(**arg1).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
string.val = Z_STRVAL_PP(arg1);
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2017: In this
statement, the referenced type of the pointer value "(**arg1).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
haystack.val = Z_STRVAL_PP(arg1);
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2019: In this
statement, the referenced type of the pointer value "(**arg2).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
needle.val = Z_STRVAL_PP(arg2);
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2092: In this
statement, the referenced type of the pointer value "(**arg1).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
haystack.val = Z_STRVAL_PP(arg1);
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2094: In this
statement, the referenced type of the pointer value "(**arg2).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
needle.val = Z_STRVAL_PP(arg2);
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2145: In this
statement, the referenced type of the pointer value "(**arg1).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
string.val = Z_STRVAL_PP(arg1);
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2185: In the
initializer for __s, the referenced type of the pointer value "(ret->val)" is
"unsigned char", which is not compatible with "char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
RETVAL_STRINGL(ret->val, ret->len, 0); /* the string is already strdup()'ed */
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2232: In this
statement, the referenced type of the pointer value "(**arg1).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
string.val = Z_STRVAL_PP(arg1);
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2266: In the
initializer for __s, the referenced type of the pointer value "(ret->val)" is
"unsigned char", which is not compatible with "char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
RETVAL_STRINGL(ret->val, ret->len, 0); /* the string is already strdup()'ed */
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2291: In this
statement, the referenced type of the pointer value "(**arg1).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
string.val = Z_STRVAL_PP(arg1);
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2356: In this
statement, the referenced type of the pointer value "(**arg1).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
string.val = Z_STRVAL_PP(arg1);
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2376: In this
statement, the referenced type of the pointer value "(**arg4).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
marker.val = Z_STRVAL_PP(arg4);
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2382: In the
initializer for __s, the referenced type of the pointer value "(ret->val)" is
"unsigned char", which is not compatible with "char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
RETVAL_STRINGL(ret->val, ret->len, 0); /* the string is already strdup()'ed */
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2421: In this
statement, the referenced type of the pointer value "input" is "char", which is
not compatible with "unsigned char" because they differ by signed/unsigned attribute.
(ptrmismatch1)
string.val = input;
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2466: In this
statement, the referenced type of the pointer value "ret->val" is "unsigned
char", which is not compatible with "char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
output = ret->val;
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2537: In this
statement, the referenced type of the pointer value "&size" is "int", which
is not compatible with "unsigned long". (ptrmismatch)
ret = php_mb_convert_encoding( Z_STRVAL_PP(arg_str), Z_STRLEN_PP(arg_str), Z_STRVAL_PP(arg_new),
_from_encodings, &size TSRMLS_CC);
--------------------------------------------------------------------------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2678: In this
statement, the referenced type of the pointer value "(**arg_str).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
string.val = Z_STRVAL_PP(arg_str);
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2750: In this
statement, the referenced type of the pointer value "(**argv[0]).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
string.val = Z_STRVAL_PP(argv[0]);
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2754: In the
initializer for __s, the referenced type of the pointer value "(ret->val)" is
"unsigned char", which is not compatible with "char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
RETVAL_STRINGL(ret->val, ret->len, 0) /* the string is already strdup()'ed */
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2776: In this
statement, the referenced type of the pointer value "(**arg_str).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
string.val = Z_STRVAL_PP(arg_str);
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2780: In the
initializer for __s, the referenced type of the pointer value "(ret->val)" is
"unsigned char", which is not compatible with "char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
RETVAL_STRINGL(ret->val, ret->len, 0) /* the string is already strdup()'ed */
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2810: In this
statement, the referenced type of the pointer value "(**arg1).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
string.val = Z_STRVAL_PP(arg1);
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 2894: In the
initializer for __s, the referenced type of the pointer value "(ret->val)" is
"unsigned char", which is not compatible with "char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
RETVAL_STRINGL(ret->val, ret->len, 0); /* the string is already strdup()'ed */
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 3009: In this
statement, the referenced type of the pointer value "(**hash_entry).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
string.val = Z_STRVAL_PP(hash_entry);
------------------------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 3018: In this
statement, the referenced type of the pointer value "(**var).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
string.val = Z_STRVAL_PP(var);
------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 3095: In this
statement, the referenced type of the pointer value "(**hash_entry).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
string.val = Z_STRVAL_PP(hash_entry);
----------------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 3100: In this
statement, the referenced type of the pointer value "ret->val" is "unsigned
char", which is not compatible with "char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
Z_STRVAL_PP(hash_entry) = ret->val;
------------------------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 3107: In this
statement, the referenced type of the pointer value "(**var).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
string.val = Z_STRVAL_PP(var);
----------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 3112: In this
statement, the referenced type of the pointer value "ret->val" is "unsigned
char", which is not compatible with "char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
Z_STRVAL_PP(var) = ret->val;
------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 3155: In this
statement, the referenced type of the pointer value "(**arg1).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
string.val = Z_STRVAL_PP(arg1);
--------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 3201: In the
initializer for __s, the referenced type of the pointer value "(ret->val)" is
"unsigned char", which is not compatible with "char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
RETVAL_STRINGL(ret->val, ret->len, 0);
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 3284: In this
statement, the referenced type of the pointer value "(**argv[1]).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
orig_str.val = Z_STRVAL_PP(argv[1]);
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 3292: In this
statement, the referenced type of the pointer value "pstr->val" is "unsigned
char", which is not compatible with "char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
subject_buf = subject = pstr->val;
--------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 3305: In this
statement, the referenced type of the pointer value "(**argv[2]).value.str.val" is
"char", which is not compatible with "unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
orig_str.val = Z_STRVAL_PP(argv[2]);
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 3313: In this
statement, the referenced type of the pointer value "pstr->val" is "unsigned
char", which is not compatible with "char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
message_buf = message = pstr->val;
--------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c, line 3349: In this
statement, the referenced type of the pointer value "device.buffer" is "unsigned
char", which is not compatible with "char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
headers = device.buffer;
--------^
cc -Iext/mbstring/ -I/house/elmicha/local/src/php4-200210311500/ext/mbstring/ -DPHP_ATOM_INC
-I/house/elmicha/local/src/php4-200210311500/include
-I/house/elmicha/local/src/php4-200210311500/main -I/house/elmicha/local/src/php4-200210311500
-I/house/elmicha/local/src/php4-200210311500/Zend
-I/house/elmicha/local/src/php4-200210311500/ext/xml/expat
-I/house/elmicha/local/src/php4-200210311500/TSRM -g -c
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbregex.c -o ext/mbstring/mbregex.o
&& echo > ext/mbstring/mbregex.lo
cc: Info: /house/elmicha/local/src/php4-200210311500/ext/mbstring/mbregex.c, line 500: Trailing
comma found in enumerator list. (trailcomma)
};
--^
cc -Iext/mbstring/ -I/house/elmicha/local/src/php4-200210311500/ext/mbstring/ -DPHP_ATOM_INC
-I/house/elmicha/local/src/php4-200210311500/include
-I/house/elmicha/local/src/php4-200210311500/main -I/house/elmicha/local/src/php4-200210311500
-I/house/elmicha/local/src/php4-200210311500/Zend
-I/house/elmicha/local/src/php4-200210311500/ext/xml/expat
-I/house/elmicha/local/src/php4-200210311500/TSRM -g -c
/house/elmicha/local/src/php4-200210311500/ext/mbstring/php_mbregex.c -o ext/mbstring/php_mbregex.o
&& echo > ext/mbstring/php_mbregex.lo
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/php_mbregex.c, line 50: In this
statement, the referenced type of the pointer value "(char ...)0" is "char",
which is not compatible with "unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
pd->buffer = (char*)0;
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/php_mbregex.c, line 506: In
this statement, the referenced type of the pointer value "&string[pos]" is
"char", which is not compatible with "const unsigned char" because they differ
by signed/unsigned attribute. (ptrmismatch1)
_php_mb_regex_strbuf_ncat(&outdev, &string[pos], regs.beg[0] - pos);
-----------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/php_mbregex.c, line 518: In
this statement, the referenced type of the pointer value "&string[regs.beg[n]]" is
"char", which is not compatible with "const unsigned char" because they differ
by signed/unsigned attribute. (ptrmismatch1)
_php_mb_regex_strbuf_ncat(pdevice, &string[regs.beg[n]], regs.end[n] - regs.beg[n]);
-----------------------------------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/php_mbregex.c, line 523: In
this statement, the referenced type of the pointer value "p" is "char", which is
not compatible with "const unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
_php_mb_regex_strbuf_ncat(pdevice, p, 1);
---------------------------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/php_mbregex.c, line 531: In
this statement, the referenced type of the pointer value """ is "char",
which is not compatible with "const unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
_php_mb_regex_strbuf_ncat(&evaldev, "\0", 1);
--------------------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/php_mbregex.c, line 533: In
this statement, the referenced type of the pointer value "evaldev.buffer" is
"unsigned char", which is not compatible with "char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
zend_eval_string(evaldev.buffer, &v, description TSRMLS_CC);
-------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/php_mbregex.c, line 536: In
this statement, the referenced type of the pointer value "(v).value.str.val" is
"char", which is not compatible with "const unsigned char" because they differ
by signed/unsigned attribute. (ptrmismatch1)
_php_mb_regex_strbuf_ncat(&outdev, Z_STRVAL(v), Z_STRLEN(v));
-------------------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/php_mbregex.c, line 545: In
this statement, the referenced type of the pointer value "&string[pos]" is
"char", which is not compatible with "const unsigned char" because they differ
by signed/unsigned attribute. (ptrmismatch1)
_php_mb_regex_strbuf_ncat(&outdev, &string[pos], 1 );
-------------------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/php_mbregex.c, line 550: In
this statement, the referenced type of the pointer value "&string[pos]" is
"char", which is not compatible with "const unsigned char" because they differ
by signed/unsigned attribute. (ptrmismatch1)
_php_mb_regex_strbuf_ncat(&outdev, &string[pos], string_len - pos);
-----------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/php_mbregex.c, line 562: In
this statement, the referenced type of the pointer value """ is "char",
which is not compatible with "const unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
_php_mb_regex_strbuf_ncat(&outdev, "\0", 1);
-------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/php_mbregex.c, line 569: In the
initializer for __s, the referenced type of the pointer value "(outdev.buffer)" is
"unsigned char", which is not compatible with "char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
RETVAL_STRINGL(outdev.buffer, n, 0);
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/php_mbregex.c, line 774: In
this statement, the referenced type of the pointer value
"(**(mbstring_globals.search_str)).value.str.val" is "char", which is not
compatible with "unsigned char" because they differ by signed/unsigned attribute.
(ptrmismatch1)
str = Z_STRVAL_PP(MBSTRG(search_str));
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/php_mbregex.c, line 793: In
this statement, the referenced type of the pointer value "str" is "unsigned
char", which is not compatible with "const char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
err = mbre_search(MBSTRG(search_re), str, len, pos, len - pos, MBSTRG(search_regs));
---------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/php_mbregex.c, line 822: In
this statement, the referenced type of the pointer value "&str[beg]" is "unsigned
char", which is not compatible with "char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
add_index_stringl(return_value, i, &str[beg], end - beg, 1);
-----------------------------------------------------------------------------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/php_mbregex.c, line 975: In
this statement, the referenced type of the pointer value
"(**(mbstring_globals.search_str)).value.str.val" is "char", which is not
compatible with "unsigned char" because they differ by signed/unsigned attribute.
(ptrmismatch1)
str = Z_STRVAL_PP(MBSTRG(search_str));
----------------^
cc: Warning: /house/elmicha/local/src/php4-200210311500/ext/mbstring/php_mbregex.c, line 982: In
this statement, the referenced type of the pointer value "&str[beg]" is "unsigned
char", which is not compatible with "char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
add_index_stringl(return_value, i, &str[beg], end - beg, 1);
-------------------------------------------------------------------^
On FreeBSD/Alpha with gcc-2.95.4, I get these warnings:
gcc -Iext/mbstring/ -I/house/elmicha/local/src/php4-200210311500/ext/mbstring/ -DPHP_ATOM_INC
-I/house/elmicha/local/src/php4-200210311500/include
-I/house/elmicha/local/src/php4-200210311500/main -I/house/elmicha/local/src/php4-200210311500
-I/house/elmicha/local/src/php4-200210311500/Zend
-I/house/elmicha/local/src/php4-200210311500/ext/xml/expat
-I/house/elmicha/local/src/php4-200210311500/TSRM -g -O2 -c
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c -o ext/mbstring/mbfilter.o
&& echo > ext/mbstring/mbfilter.lo
cc1: warning:
***
*** The -O2 flag TRIGGERS KNOWN OPTIMIZER BUGS ON THIS PLATFORM
***
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c: In function
`mbfl_filt_conv_html_dec_ctor':
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c:3593: warning: cast from pointer
to integer of different size
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c: In function
`mbfl_filt_conv_html_dec_dtor':
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c:3602: warning: cast to pointer
from integer of different size
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c: In function
`mbfl_filt_conv_html_dec':
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c:3612: warning: cast to pointer
from integer of different size
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c: In function
`mbfl_filt_conv_html_dec_flush':
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbfilter.c:3700: warning: cast to pointer
from integer of different size
gcc -Iext/mbstring/ -I/house/elmicha/local/src/php4-200210311500/ext/mbstring/ -DPHP_ATOM_INC
-I/house/elmicha/local/src/php4-200210311500/include
-I/house/elmicha/local/src/php4-200210311500/main -I/house/elmicha/local/src/php4-200210311500
-I/house/elmicha/local/src/php4-200210311500/Zend
-I/house/elmicha/local/src/php4-200210311500/ext/xml/expat
-I/house/elmicha/local/src/php4-200210311500/TSRM -g -O2 -c
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c -o ext/mbstring/mbstring.o
&& echo > ext/mbstring/mbstring.lo
cc1: warning:
***
*** The -O2 flag TRIGGERS KNOWN OPTIMIZER BUGS ON THIS PLATFORM
***
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c: In function
`zif_mb_convert_encoding':
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbstring.c:2537: warning: passing arg 5 of
`php_mb_convert_encoding' from incompatible pointer type
gcc -Iext/mbstring/ -I/house/elmicha/local/src/php4-200210311500/ext/mbstring/ -DPHP_ATOM_INC
-I/house/elmicha/local/src/php4-200210311500/include
-I/house/elmicha/local/src/php4-200210311500/main -I/house/elmicha/local/src/php4-200210311500
-I/house/elmicha/local/src/php4-200210311500/Zend
-I/house/elmicha/local/src/php4-200210311500/ext/xml/expat
-I/house/elmicha/local/src/php4-200210311500/TSRM -g -O2 -c
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbregex.c -o ext/mbstring/mbregex.o
&& echo > ext/mbstring/mbregex.lo
cc1: warning:
***
*** The -O2 flag TRIGGERS KNOWN OPTIMIZER BUGS ON THIS PLATFORM
***
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbregex.c: In function `mbre_match':
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbregex.c:3929: warning: cast to pointer
from integer of different size
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbregex.c:3974: warning: cast to pointer
from integer of different size
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbregex.c:4089: warning: cast to pointer
from integer of different size
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbregex.c:4192: warning: cast to pointer
from integer of different size
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbregex.c:4218: warning: cast to pointer
from integer of different size
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbregex.c:4231: warning: cast to pointer
from integer of different size
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbregex.c:4263: warning: cast to pointer
from integer of different size
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbregex.c:4274: warning: cast to pointer
from integer of different size
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbregex.c:4291: warning: cast to pointer
from integer of different size
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbregex.c:4445: warning: cast from pointer
to integer of different size
/house/elmicha/local/src/php4-200210311500/ext/mbstring/mbregex.c:4495: warning: cast to pointer
from integer of different size