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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Mar 28 21:01:27 2024 UTC