ID: 26677
Updated by: [EMAIL PROTECTED]
Reported By: behrens at takenet dot de
-Status: Open
+Status: Assigned
Bug Type: mbstring related
Operating System: IRIX64
PHP Version: 5CVS
-Assigned To:
+Assigned To: moriyoshi
New Comment:
Moriyoshi, maybe you could take a look?
Previous Comments:
------------------------------------------------------------------------
[2003-12-19 20:58:00] behrens at takenet dot de
Description:
------------
When compiling the php5b3 with mbstring support on a recent IRIX
version with latest mips cc 7.4.1 spells out some errors.
cc-1020 cc: ERROR File =
/usr2/MIPS/php-5.0.0b3RC2/ext/mbstring/oniguruma/regerror.c, Line =
149
The identifier "code" is undefined.
regex_error_code_to_str(UChar* s, code, va_alist)
^
cc-1020 cc: ERROR File =
/usr2/MIPS/php-5.0.0b3RC2/ext/mbstring/oniguruma/regerror.c, Line =
149
The identifier "va_alist" is undefined.
regex_error_code_to_str(UChar* s, code, va_alist)
^
cc-1137 cc: ERROR File =
/usr2/MIPS/php-5.0.0b3RC2/ext/mbstring/oniguruma/regerror.c, Line =
149
Unnamed prototyped parameters not allowed when body is present.
regex_error_code_to_str(UChar* s, code, va_alist)
^
cc-1129 cc: ERROR File =
/usr2/MIPS/php-5.0.0b3RC2/ext/mbstring/oniguruma/regerror.c, Line =
150
A left brace ("{") is expected at this point.
int code;
^
cc-1012 cc: WARNING File =
/usr2/MIPS/php-5.0.0b3RC2/ext/mbstring/oniguruma/regerror.c, Line =
153
Parsing restarts here after previous syntax error.
{
^
cc-1020 cc: ERROR File =
/usr2/MIPS/php-5.0.0b3RC2/ext/mbstring/oniguruma/regerror.c, Line =
159
The identifier "va_alist" is undefined.
va_init_list(vargs, code);
^
cc-1020 cc: ERROR File =
/usr2/MIPS/php-5.0.0b3RC2/ext/mbstring/oniguruma/regerror.c, Line =
161
The identifier "code" is undefined.
switch (code) {
^
cc-1515 cc: WARNING File =
/usr2/MIPS/php-5.0.0b3RC2/ext/mbstring/oniguruma/regerror.c, Line =
166
A value of type "char *" cannot be assigned to an entity of type
"UChar *".
q = regex_error_code_to_format(code);
^
cc-1515 cc: WARNING File =
/usr2/MIPS/php-5.0.0b3RC2/ext/mbstring/oniguruma/regerror.c, Line =
197
A value of type "char *" cannot be assigned to an entity of type
"UChar *".
q = regex_error_code_to_format(code);
^
cc-1164 cc: WARNING File =
/usr2/MIPS/php-5.0.0b3RC2/ext/mbstring/oniguruma/regerror.c, Line =
198
Argument of type "UChar *" is incompatible with parameter of type
"const char *".
len = strlen(q);
^
unable to proceed because of earlier errors
6 errors detected in the compilation of
"/usr2/MIPS/php-5.0.0b3RC2/ext/mbstring/oniguruma/regerror.c".
[octane]:/usr2/MIPS/php-5.0.0b3RC2 $ cat config.nice.cli
#! /bin/sh
#
# Created by configure
rm config.cache
gmake distclean
CFLAGS='-O3 -apo -mp -mips4 -OPT:Olimit=0 -TARG:platform=IP30
-Xcpluscomm -I/usr/local/include -I/usr/freeware/include
-I/usr/include' \
CXXFLAGS='-O3 -mips4' \
LDFLAGS='-mp -W,rpath=/usr/freeware/lib32 -W,rpath=/usr/lib32 ' \
CC='cc' \
CXX='CC' \
'./configure' \
'--enable-wddx' \
'--enable-sysvmsg' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-tokenizer' \
'--enable-mbstring' \
'--enable-mbregex' \
'--enable-dbase' \
'--with-sqlite ' \
'--enable-sockets' \
"$@"
I hope someone can take a look on it
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26677&edit=1