#34384 [NEW]: pointer signedness warnings

From: Date: Tue, 06 Sep 2005 01:36:05 +0000
Subject: #34384 [NEW]: pointer signedness warnings
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-84563@lists.php.net to get a copy of this message
From: pmjones@php.net Operating system: Mac OS X 10.4.2 PHP version: 5.1.0RC1 PHP Bug Type: Compile Warning Bug description: pointer signedness warnings Description: ------------ Can't get 5.1.0RC1 to compile on Mac OS X. After a few different configuration attempts, used "./configure --disable-all" to avoid any possible issues with modules. At "make" time, the compiler issues a series of these warnings ... /Users/pmjones/php/php-5.1.0RC1/ext/standard/info.c: In function 'php_info_html_esc': /Users/pmjones/php/php-5.1.0RC1/ext/standard/info.c:216: warning: pointer targets in passing argument 1 of 'php_escape_html_entities' differ in signedness /Users/pmjones/php/php-5.1.0RC1/ext/standard/info.c: In function 'php_print_info': /Users/pmjones/php/php-5.1.0RC1/ext/standard/info.c:506: warning: pointer targets in passing argument 3 of 'zend_hash_get_current_key_ex' differ in signedness /Users/pmjones/php/php-5.1.0RC1/ext/standard/info.c:537: warning: pointer targets in passing argument 3 of 'zend_hash_get_current_key_ex' differ in signedness /Users/pmjones/php/php-5.1.0RC1/ext/standard/info.c:578: warning: pointer targets in passing argument 3 of 'zend_hash_get_current_key_ex' differ in signedness The number of pointer target warnings increases as I enable new modules (or even use the default config). This is using the most-recent Xcode tools 2.1 (June 2005). What might I be doing wrong? -- Edit bug report at http://bugs.php.net/?id=34384&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34384&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34384&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34384&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34384&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34384&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34384&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34384&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34384&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34384&r=support Expected behavior: http://bugs.php.net/fix.php?id=34384&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34384&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34384&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34384&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34384&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34384&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34384&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34384&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34384&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34384&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34384&r=mysqlcfg

« previous php.bugs (#84563) next »