Edin Kadribasic wrote:

>I get linking errors when I tried to compile it on windows. The
>error was that zend_do_inheritance symbol was not found. Are you
>saying that this call is not needed? Could it be removed then?
>  
>
At them moment, you can comment out the bcompiler_inherit call (it's 
never used) = however it will need including eventually...

zce->parent always evaluates to NULL...


>Edin
>
>
>----- Original Message -----
>From: "Alan Knowles" <[EMAIL PROTECTED]>
>To: "Edin Kadribasic" <[EMAIL PROTECTED]>
>Cc: "Zeev Suraski" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Sent: Wednesday, October 16, 2002 4:03 PM
>Subject: Re: [PHP-DEV] zend_compile.h patch
>
>
>  
>
>>Edin Kadribasic wrote:
>>
>>    
>>
>>>Any objections to exporting another function from zend_compile.h
>>>      
>>>
>by
>  
>
>>>applying this patch? I need this in order to compile
>>>pear/PECL/bcompiler on Windows.
>>>
>>>Edin
>>>
>>>      
>>>
>>actually it's not needed 'at present' cause the compiled bytecodes
>>    
>>
>do
>  
>
>>not use inheritance (as the compiled bytecode includes the
>>    
>>
>'merged' view
>  
>
>>of the class'..,however - if and when I get round to writing
>>    
>>
>conditional
>  
>
>>method/var class compiling, it will be needed..
>>
>>Regards
>>Alan
>>
>>    
>>
>>>      
>>>
>>-------------------------------------------------------------------
>>    
>>
>-----
>  
>
>>>Index: zend_compile.h
>>>      
>>>
>>===================================================================
>>    
>>
>>>RCS file: /repository/Zend/zend_compile.h,v
>>>retrieving revision 1.144
>>>diff -u -r1.144 zend_compile.h
>>>--- zend_compile.h 4 Aug 2002 06:39:44 -0000 1.144
>>>+++ zend_compile.h 16 Oct 2002 13:35:35 -0000
>>>@@ -273,7 +273,7 @@
>>>void zend_do_end_function_call(znode *function_name, znode
>>>      
>>>
>*result, znode *argument_list, int is_method, int is_dynamic_fcall
>TSRMLS_DC);
>  
>
>>>void zend_do_return(znode *expr, int do_end_vparse TSRMLS_DC);
>>>ZEND_API int do_bind_function_or_class(zend_op *opline,
>>>      
>>>
>HashTable *function_table, HashTable *class_table, int
>compile_time);
>  
>
>>>-void zend_do_inheritance(zend_class_entry *ce, zend_class_entry
>>>      
>>>
>*parent_ce);
>  
>
>>>+ZEND_API void zend_do_inheritance(zend_class_entry *ce,
>>>      
>>>
>zend_class_entry *parent_ce);
>  
>
>>>void zend_do_early_binding(TSRMLS_D);
>>>
>>>void zend_do_pass_param(znode *param, int op, int offset
>>>      
>>>
>TSRMLS_DC);
>  
>
>>>
>>>      
>>>
>>
>>
>>    
>>
>
>  
>



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

Reply via email to