php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34384 pointer signedness warnings
Submitted: 2005-09-06 03:36 UTC Modified: 2005-09-06 09:59 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: pmjones@php.net Assigned:
Status: Wont fix Package: Compile Warning
PHP Version: 5.1.0RC1 OS: Mac OS X 10.4.2
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pmjones@php.net
New email:
PHP Version: OS:

 

 [2005-09-06 03:36 UTC] 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?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-06 09:59 UTC] sniper@php.net
You're using GCC 4. That's what you're doing wrong.
And warnings don't (usually) prevent you from compiling anything. Blame Apple.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC