#22834 [Fbk->NoF]: type mismatch in mbstring extension

From: Date: Mon, 31 Mar 2003 07:58:29 +0000
Subject: #22834 [Fbk->NoF]: type mismatch in mbstring extension
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-36769@lists.php.net to get a copy of this message
ID: 22834 Updated by: sniper@php.net Reported By: fnjordy at cus dot org dot uk -Status: Feedback +Status: No Feedback -Bug Type: Compile Failure +Bug Type: mbstring related Operating System: Solaris 8 PHP Version: 4.3.2RC1 Assigned To: moriyoshi New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2003-03-24 14:29:24] moriyoshi@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-03-24 14:16:53] moriyoshi@php.net I've been aware of this issue. ------------------------------------------------------------------------ [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

« previous php.bugs (#36769) next »