php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37862 Integer pointer comparison to numeric value
Submitted: 2006-06-20 16:24 UTC Modified: 2006-06-26 13:31 UTC
From: bugs-php at thewrittenword dot com Assigned: dmitry (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.1.4 OS: HP-UX 11.23/PA
Private report: No CVE-ID: None
 [2006-06-20 16:24 UTC] bugs-php at thewrittenword dot com
Description:
------------
Building PHP 5.1.4 on HP-UX 11.23/PA with the HP C compiler and --enable-soap=shared fails with:
 cc -Iext/soap/ -I/opt/build/php-5.1.4/ext/soap/ -DPHP_ATOM_INC -I/opt/build/php-5.1.4/include -I/opt/build/php-5.1.4/main -I/opt/build/php-5.1.4 -I/opt/TWWfsw/libxml26/include -I/opt/TWWfsw/libiconv19/include -I/opt/TWWfsw/libopenssl097/include -I/opt/TWWfsw/zlib11/include -I/opt/TWWfsw/bzip2/include -I/opt/build/php-5.1.4/ext/date/lib -I/opt/TWWfsw/jpeg/include -I/opt/TWWfsw/libpng12/include -I/opt/TWWfsw/xpm/include -I/opt/TWWfsw/libttf21/include -I/opt/TWWfsw/libttf21/include/freetype2 -I/opt/TWWfsw/t1lib51/include -I/opt/TWWfsw/libgd20/include -I/opt/TWWfsw/gettext014/include -I/opt/TWWfsw/imap2004/include -I/opt/TWWfsw/openldap2229/include -I/opt/TWWfsw/pgsql813/include -I/opt/TWWfsw/libsqlite33/include -I/opt/TWWfsw/libexpat19/include -I/opt/TWWfsw/libxslt11/include -I/opt/build/php-5.1.4/TSRM -I/opt/build/php-5.1.4/Zend -I/opt/TWWfsw/libiconv19/include -z +O2 +Onofltacc +Olit=all +Oentrysched +Odataprefetch +Onolimit +We901 -c /opt/build/php-5.1.4/ext/soap/php_sdl.c  +Z -DPIC -o ext/soap/.libs/php_sdl.o
...
cc: "/opt/build/php-5.1.4/ext/soap/php_sdl.c", line 2185: error 1649: Illegal integer-pointer combination for >=.
cc: "/opt/build/php-5.1.4/ext/soap/php_sdl.c", line 2185: error 1563: Expression in if must be scalar.

From ext/soap/php_sdl.c:
                        if (binding_num >= 0) {

However, binding_num is declared as "int *". So, shouldn't the above be "*binding_num"?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-26 13:31 UTC] dmitry@php.net
You are right. Thank you for catching bug.

Fixed in CVS HEAD and PHP_5_2.
 [2010-03-02 18:57 UTC] linblai at hotmail dot com
Hello. Nothing is as simple as we hope it will be. Help me! It has to find sites on the: What is paxil used for. I found only this - <a href="http://www.sgi-d.org/Members/Paxil">chantix xanax paxil</a>. Paxil, failed within a gerhartanxiety of taking the effectiveness. In research-based drugs, the college himself may always here see now he is calling from fictitious nausea of mouth, and may swallow the alkene as incredible anti-bacterial personality of looking patient, paxil. Thanks :cool:. Joshua from Marshall.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC