From:             bugs-php at thewrittenword dot com
Operating system: HP-UX 11.23/PA
PHP version:      5.1.4
PHP Bug Type:     Compile Failure
Bug description:  Integer pointer comparison to numeric value

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"?


-- 
Edit bug report at http://bugs.php.net/?id=37862&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37862&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=37862&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37862&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=37862&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=37862&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=37862&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=37862&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=37862&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=37862&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=37862&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=37862&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=37862&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=37862&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37862&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=37862&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=37862&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=37862&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37862&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=37862&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=37862&r=mysqlcfg

Reply via email to