ID:               22834
 Updated by:       [EMAIL PROTECTED]
 Reported By:      fnjordy at cus dot org dot uk
-Status:           Assigned
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Solaris 8
 PHP Version:      4.3.2RC1
 Assigned To:      moriyoshi
 New Comment:

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




Previous Comments:
------------------------------------------------------------------------

[2003-03-24 14:16:53] [EMAIL PROTECTED]

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

Reply via email to