#22834 [Opn->Asn]: type mismatch in mbstring extension
| From: | moriyoshi@php.net | Date: | Mon, 24 Mar 2003 20:16:54 +0000 |
| Subject: | #22834 [Opn->Asn]: type mismatch in mbstring extension | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36312@lists.php.net to get a copy of this message | ||
ID: 22834
Updated by: moriyoshi@php.net
Reported By: fnjordy at cus dot org dot uk
-Status: Open
+Status: Assigned
Bug Type: Compile Failure
Operating System: Solaris 8
PHP Version: 4.3.2RC1
-Assigned To:
+Assigned To: moriyoshi
New Comment:
I've been aware of this issue.
Previous Comments:
------------------------------------------------------------------------
[2003-03-23 21:47:17] fnjordy at cus dot org dot uk
Only appears when building with Sun Forte's C++ compiler CC, not the C
compiler cc. I'm building an extension that uses a C++ library and
hence the change.
"/local/src/php-4.3.2RC1/ext/mbstring/mbfilter.c", line 2957: Error:
Cannot assign const char* to const unsigned char*.
"/local/src/php-4.3.2RC1/ext/mbstring/mbfilter.c", line 2974: Error:
Cannot assign const char* to const unsigned char*.
"/local/src/php-4.3.2RC1/ext/mbstring/mbfilter.c", line 7742: Error:
Cannot assign unsigned* to int*.
cal/src/php-4.3.2RC1/ext/mbstring/mbstring.c", line 1045: Error: Formal
argument
no_language of type mbfl_no_language in call to
mbfl_no_language2name(mbfl_no_language) is being passed int.
"/local/src/php-4.3.2RC1/ext/mbstring/mbstring.c", line 1076: Error:
Formal argument no_encoding of type mbfl_no_encoding in call to
mbfl_no_encoding2name(mbfl_no_encoding) is being passed int.
"/local/src/php-4.3.2RC1/ext/mbstring/mbstring.c", line 1139: Error:
Formal argument no_encoding of type mbfl_no_encoding in call to
mbfl_no_encoding2name(mbfl_no_encoding) is being passed int.
"/local/src/php-4.3.2RC1/ext/mbstring/mbstring.c", line 1141: Warning:
The variable name has not yet been assigned a value.
"/local/src/php-4.3.2RC1/ext/mbstring/mbstring.c", line 1154: Error:
Formal argument no_encoding of type mbfl_no_encoding in call to
mbfl_no_encoding2name(mbfl_no_encoding) is being passed int.
"/local/src/php-4.3.2RC1/ext/mbstring/mbstring.c", line 1185: Error:
Formal argument no_encoding of type mbfl_no_encoding in call to
mbfl_no_encoding2name(mbfl_no_encoding) is being passed int.
"/local/src/php-4.3.2RC1/ext/mbstring/mbstring.c", line
...
Build environment:
* Sun Forte 6 Update 2
* Autoconf 2.57
* Automake 1.5
* m4 1.4
* libtool 1.4.3
fyi: Autoconf 2.13 doesn't detect functions in libraries with Forte
CC.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22834&edit=1