#34384 [Opn->WFx]: pointer signedness warnings

From: Date: Tue, 06 Sep 2005 07:59:19 +0000
Subject: #34384 [Opn->WFx]: pointer signedness warnings
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-84570@lists.php.net to get a copy of this message
ID: 34384 Updated by: sniper@php.net Reported By: pmjones@php.net -Status: Open +Status: Wont fix Bug Type: Compile Warning Operating System: Mac OS X 10.4.2 PHP Version: 5.1.0RC1 New Comment: You're using GCC 4. That's what you're doing wrong. And warnings don't (usually) prevent you from compiling anything. Blame Apple. Previous Comments: ------------------------------------------------------------------------ [2005-09-06 03:36:04] pmjones@php.net 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 this bug report at http://bugs.php.net/?id=34384&edit=1

« previous php.bugs (#84570) next »