Edit report at https://bugs.php.net/bug.php?id=55471&edit=1

 ID:                 55471
 Patch added by:     larue...@php.net
 Reported by:        s21122012 at yahoo dot com
 Summary:            zend_get_object_classname
 Status:             Verified
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Mac OS X 10.7.1
 PHP Version:        5.4.0alpha3
 Block user comment: N
 Private report:     N

 New Comment:

The following patch has been added/updated:

Patch Name: bug55471.diff
Revision:   1313921837
URL:        
https://bugs.php.net/patch-display.php?bug=55471&patch=bug55471.diff&revision=1313921837


Previous Comments:
------------------------------------------------------------------------
[2011-08-21 10:14:49] larue...@php.net

hmm, missed a TSRMLS_CC in parameters

------------------------------------------------------------------------
[2011-08-21 00:36:12] s21122012 at yahoo dot com

Description:
------------
I tried compiling PHP with the configure options below and got a compilation 
error.

Test script:
---------------
../php*/configure --prefix=/alt/php --bindir=/alt/bin --enable-mod-charset 
--with-apxs2=/alt/apache/bin/apxs --enable-sigchild --disable-short-tags 
--enable-dtrace --with-libxml-dir=/alt/libxml --with-openssl=shared 
--with-pcre-regex=/alt/pcre --with-zlib=/alt --with-zlib-dir=/alt 
--enable-bcmath --with-bz2=/alt/tar --with-curl=/alt/curl --enable-exif 
--enable-ftp --with-png-dir=/alt/libpng --with-gmp=/alt --enable-mbstring 
--with-mysql=mysqlnd --with-mysqli=mysqlnd --enable-pcntl --enable-shmop 
--enable-soap --enable-sockets --enable-wddx --enable-zip 
--with-pcre-dir=/alt/pcre --disable-cgi

Expected result:
----------------
Successful Compilation

Actual result:
--------------
/Users/Developer/Downloads/php-5.4.0alpha3/Zend/zend_exceptions.c: In function 
‘zend_throw_exception_internal’:
/Users/Developer/Downloads/php-5.4.0alpha3/Zend/zend_exceptions.c:92: warning: 
passing argument 2 of ‘zend_get_object_classname’ from incompatible pointer 
type
/Users/Developer/Downloads/php-5.4.0alpha3/Zend/zend_exceptions.c:92: error: 
too 
few arguments to function ‘zend_get_object_classname’
/Users/Developer/Downloads/php-5.4.0alpha3/Zend/zend_exceptions.c: In function 
‘_build_trace_args’:
/Users/Developer/Downloads/php-5.4.0alpha3/Zend/zend_exceptions.c:439: warning: 
passing argument 2 of ‘zend_get_object_classname’ from incompatible pointer 
type
make: *** [Zend/zend_exceptions.lo] Error 1


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=55471&edit=1

Reply via email to