The compile error can be fixed by applying the attached patch.

Ilia

On October 10, 2002 05:19 pm, Michael Sisolak wrote:
> My Win32 build of 4.3.0pre1 also fails with these two errors:
>
> glob.c
> c:\work\php-source\php-4.3.0pre1\win32\glob.c(506) : warning C4090:
> 'function' : different 'const' qualifiers
> c:\work\php-source\php-4.3.0pre1\win32\glob.c(506) : warning C4028:
> formal parameter 1 different from declaration
> c:\work\php-source\php-4.3.0pre1\win32\glob.c(506) : warning C4090:
> 'function' : different 'const' qualifiers
> c:\work\php-source\php-4.3.0pre1\win32\glob.c(506) : warning C4028:
> formal parameter 2 different from declaration
> c:\work\php-source\php-4.3.0pre1\win32\glob.c(506) : warning C4024:
> 'qsort' : different types for formal and actual parameter 4
>
> formatted_print.c
> c:\work\php-source\php-4.3.0pre1\ext\standard\formatted_print.c(287) :
> error C2065: 'tsrm_ls' : undeclared identifier
>
>
> Michael Sisolak
> [EMAIL PROTECTED]
>
>
> __________________________________________________
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos & More
> http://faith.yahoo.com
Index: zend.c
===================================================================
RCS file: /repository/Zend/zend.c,v
retrieving revision 1.159
diff -u -3 -p -u -r1.159 zend.c
--- zend.c      10 Oct 2002 16:38:49 -0000      1.159
+++ zend.c      10 Oct 2002 21:27:02 -0000
@@ -124,6 +124,8 @@ static void print_hash(HashTable *ht, in
 
 ZEND_API void zend_make_printable_zval(zval *expr, zval *expr_copy, int *use_copy)
 {
+       TSRMLS_FETCH();
+
        if (expr->type==IS_STRING) {
                *use_copy = 0;
                return;

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to