From:             alexfung3 at yahoo dot com dot hk
Operating system: Solaris 9 x86
PHP version:      5CVS-2004-12-23 (dev)
PHP Bug Type:     Compile Warning
Bug description:  Warning when building the source

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 bug report at http://bugs.php.net/?id=31263&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31263&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31263&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31263&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31263&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31263&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31263&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31263&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31263&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31263&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31263&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31263&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31263&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31263&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31263&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31263&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31263&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31263&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31263&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31263&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31263&r=mysqlcfg

Reply via email to