#31263 [Csd->WFx]: Warning when building the source
| From: | tony2001@php.net | Date: | Wed, 12 Jan 2005 18:32:02 +0000 |
| Subject: | #31263 [Csd->WFx]: Warning when building the source | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-71979@lists.php.net to get a copy of this message | ||
ID: 31263
Updated by: tony2001@php.net
Reported By: alexfung3 at yahoo dot com dot hk
-Status: Closed
+Status: Wont fix
Bug Type: Compile Warning
Operating System: Solaris 9 x86
PHP Version: 5CVS-2004-12-23 (dev)
New Comment:
The report was marked as "won't fix", please don't change it's status
until you want to reopen it.
Previous Comments:
------------------------------------------------------------------------
[2005-01-12 16:26:07] alexfung3 at yahoo dot com dot hk
Thanks for your help
------------------------------------------------------------------------
[2005-01-12 12:50:16] alexfung3 at yahoo dot com dot hk
Thanks for your help
------------------------------------------------------------------------
[2005-01-11 06:56:02] moriyoshi@php.net
Those warns are concerned with the prototype differences
across platforms and so you can safely ignore them.
------------------------------------------------------------------------
[2004-12-23 04:33:07] alexfung3 at yahoo dot com dot hk
Description:
------------
Hi All,
I can compile successfully "configure
--with-apxs2=/usr/local/apache2/bin/apxs" But I get warning when I
build it. The warning is..
/tmp/php/php5-STABLE-200412230130/ext/iconv/iconv.c: In function
`_php_iconv_appendl':
/tmp/php/php5-STABLE-200412230130/ext/iconv/iconv.c:254: warning:
passing arg 2 of `iconv' from incompatible pointer type
/tmp/php/php5-STABLE-200412230130/ext/iconv/iconv.c: In function
`php_iconv_string':
/tmp/php/php5-STABLE-200412230130/ext/iconv/iconv.c:414: warning:
passing arg 2 of `iconv' from incompatible pointer type
/tmp/php/php5-STABLE-200412230130/ext/iconv/iconv.c: In function
`_php_iconv_strlen':
/tmp/php/php5-STABLE-200412230130/ext/iconv/iconv.c:528: warning:
passing arg 2 of `iconv' from incompatible pointer type
/tmp/php/php5-STABLE-200412230130/ext/iconv/iconv.c: In function
`_php_iconv_substr':
/tmp/php/php5-STABLE-200412230130/ext/iconv/iconv.c:628: warning:
passing arg 2 of `iconv' from incompatible pointer type
/tmp/php/php5-STABLE-200412230130/ext/iconv/iconv.c: In function
`_php_iconv_strpos':
/tmp/php/php5-STABLE-200412230130/ext/iconv/iconv.c:759: warning:
passing arg 2 of `iconv' from incompatible pointer type
/tmp/php/php5-STABLE-200412230130/ext/iconv/iconv.c: In function
`_php_iconv_mime_encode':
/tmp/php/php5-STABLE-200412230130/ext/iconv/iconv.c:1012: warning:
passing arg 2 of `iconv' from incompatible pointer type
/tmp/php/php5-STABLE-200412230130/ext/iconv/iconv.c:1112: warning:
passing arg 2 of `iconv' from incompatible pointer type
/tmp/php/php5-STABLE-200412230130/ext/iconv/iconv.c: In function
`php_iconv_stream_filter_append_bucket':
/tmp/php/php5-STABLE-200412230130/ext/iconv/iconv.c:2365: warning:
passing arg 2 of `iconv' from incompatible pointer type
/tmp/php/php5-STABLE-200412230130/ext/iconv/iconv.c:2444: warning:
passing arg 2 of `iconv' from incompatible pointer type
/tmp/php/php5-STABLE-200412230130/main/php_scandir.c: In function
`php_scandir':
/tmp/php/php5-STABLE-200412230130/main/php_scandir.c:116: warning:
passing arg 4 of `qsort' from incompatible pointer type
(It is safe to ignore warnings about tempnam and tmpnam).
I'm not sure whether it is a bug or not. But could anyone tell me can
I ignore all the warnings?
Thanks very much for your time
Expected result:
----------------
Build successful without any warning.
Actual result:
--------------
Build successful with warnings.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31263&edit=1