Bug #66521 [Asn->Opn]: PECL AOP Compile failure

From: Date: Tue, 24 Oct 2017 07:05:21 +0000
Subject: Bug #66521 [Asn->Opn]: PECL AOP Compile failure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212040@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66521&edit=1

 ID:                 66521
 Updated by:         kalle@php.net
 Reported by:        info at sistemasgsl dot com
 Summary:            PECL AOP Compile failure
-Status:             Assigned
+Status:             Open
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Windows 2008 Server
 PHP Version:        Irrelevant
-Assigned To:        gerald
+Assigned To:        
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2014-01-20 14:27:04] info at sistemasgsl dot com

Errors on lines 247 and 271. Thanks ! I can compile now.

Recreating build dirs
aop.c
ext\aop\aop.c(211) : warning C4101: 'tmp_member' : unreferenced local variable
ext\aop\aop.c(248) : error C2143: syntax error : missing ';' before 'type'
ext\aop\aop.c(249) : error C2275: 'HashTable' : illegal use of this type as an expression
        Zend\zend_hash.h(82) : see declaration of 'HashTable'
ext\aop\aop.c(249) : error C2065: 'ht' : undeclared identifier
ext\aop\aop.c(250) : error C2275: 'HashPosition' : illegal use of this type as an
expression
        Zend\zend_hash.h(94) : see declaration of 'HashPosition'
ext\aop\aop.c(250) : error C2146: syntax error : missing ';' before identifier
'pos'
ext\aop\aop.c(250) : error C2065: 'pos' : undeclared identifier
ext\aop\aop.c(251) : error C2275: 'pointcut' : illegal use of this type as an expression
        d:\php-sdk\php53dev\vc9\x86\php-5.3.27\ext\aop\aop.h(101) : see declaration of
'pointcut'
ext\aop\aop.c(251) : error C2065: 'temp' : undeclared identifier
ext\aop\aop.c(251) : error C2100: illegal indirection
ext\aop\aop.c(253) : error C2065: 'curr_func' : undeclared identifier
ext\aop\aop.c(253) : warning C4047: '=' : 'int' differs in levels of indirection
from 'zend_function *'
ext\aop\aop.c(255) : error C2065: 'pos' : undeclared identifier
ext\aop\aop.c(255) : warning C4047: 'function' : 'HashPosition *' differs in
levels of indirection from 'int *'
ext\aop\aop.c(255) : warning C4024: 'zend_hash_internal_pointer_reset_ex' : different
types for formal and actual parameter 2
ext\aop\aop.c(256) : error C2065: 'temp' : undeclared identifier
ext\aop\aop.c(256) : error C2065: 'pos' : undeclared identifier
ext\aop\aop.c(256) : warning C4047: 'function' : 'HashPosition *' differs in
levels of indirection from 'int *'
ext\aop\aop.c(256) : warning C4024: 'zend_hash_get_current_data_ex' : different types for
formal and actual parameter 3
ext\aop\aop.c(257) : error C2065: 'temp' : undeclared identifier
ext\aop\aop.c(257) : error C2100: illegal indirection
ext\aop\aop.c(257) : warning C4047: 'function' : 'pointcut *' differs in levels
of indirection from 'int'
ext\aop\aop.c(257) : warning C4024: 'pointcut_match_zend_function' : different types for
formal and actual parameter 1
ext\aop\aop.c(257) : error C2065: 'curr_func' : undeclared identifier
ext\aop\aop.c(257) : warning C4047: 'function' : 'zend_function *' differs in
levels of indirection from 'int'
ext\aop\aop.c(257) : warning C4024: 'pointcut_match_zend_function' : different types for
formal and actual parameter 2
ext\aop\aop.c(258) : error C2065: 'ht' : undeclared identifier
ext\aop\aop.c(258) : warning C4047: '==' : 'int' differs in levels of
indirection from 'void *'
ext\aop\aop.c(259) : error C2065: 'ht' : undeclared identifier
ext\aop\aop.c(259) : warning C4047: '=' : 'int' differs in levels of indirection
from 'HashTable *'
ext\aop\aop.c(260) : error C2065: 'ht' : undeclared identifier
ext\aop\aop.c(260) : warning C4047: 'function' : 'HashTable *' differs in levels
of indirection from 'int'
ext\aop\aop.c(260) : warning C4024: '_zend_hash_init' : different types for formal and
actual parameter 1
ext\aop\aop.c(262) : error C2065: 'ht' : undeclared identifier
ext\aop\aop.c(262) : warning C4047: 'function' : 'HashTable *' differs in levels
of indirection from 'int'
ext\aop\aop.c(262) : warning C4024: '_zend_hash_index_update_or_next_insert' : different
types for formal and actual parameter 1
ext\aop\aop.c(262) : error C2065: 'temp' : undeclared identifier
ext\aop\aop.c(262) : warning C4022: '_zend_hash_index_update_or_next_insert' : pointer
mismatch for actual parameter 3
ext\aop\aop.c(264) : error C2065: 'pos' : undeclared identifier
ext\aop\aop.c(264) : warning C4047: 'function' : 'HashPosition *' differs in
levels of indirection from 'int *'
ext\aop\aop.c(264) : warning C4024: 'zend_hash_move_forward_ex' : different types for
formal and actual parameter 2
ext\aop\aop.c(266) : error C2065: 'ht' : undeclared identifier
ext\aop\aop.c(266) : warning C4047: 'return' : 'HashTable *' differs in levels
of indirection from 'int'
ext\aop\aop.c(272) : error C2143: syntax error : missing ';' before 'type'
ext\aop\aop.c(273) : error C2143: syntax error : missing ';' before 'type'
ext\aop\aop.c(274) : error C2275: 'pointcut_cache' : illegal use of this type as an
expression
        d:\php-sdk\php53dev\vc9\x86\php-5.3.27\ext\aop\aop.h(110) : see declaration of
'pointcut_cache'
ext\aop\aop.c(274) : error C2065: 'cache' : undeclared identifier
ext\aop\aop.c(275) : error C2143: syntax error : missing ';' before 'type'
ext\aop\aop.c(276) : error C2275: 'zend_object_handle' : illegal use of this type as an
expression
        d:\php-sdk\php53dev\vc9\x86\php-5.3.27\zend\zend_types.h(53) : see declaration of
'zend_object_handle'
ext\aop\aop.c(276) : error C2146: syntax error : missing ';' before identifier
'handle'
ext\aop\aop.c(276) : error C2065: 'handle' : undeclared identifier
ext\aop\aop.c(280) : error C2065: 'handle' : undeclared identifier
ext\aop\aop.c(282) : error C2065: 'curr_func' : undeclared identifier
ext\aop\aop.c(282) : warning C4047: '=' : 'int' differs in levels of indirection
from 'zend_function *'
ext\aop\aop.c(284) : error C2065: 'func_name' : undeclared identifier
ext\aop\aop.c(284) : error C2065: 'curr_func' : undeclared identifier
ext\aop\aop.c(284) : error C2223: left of '->common' must point to struct/union
ext\aop\aop.c(284) : error C2198: '_estrdup' : too few arguments for call
ext\aop\aop.c(284) : warning C4047: '=' : 'int' differs in levels of indirection
from 'char *'
ext\aop\aop.c(285) : error C2065: 'handle' : undeclared identifier
ext\aop\aop.c(286) : error C2065: 'handle' : undeclared identifier
ext\aop\aop.c(287) : error C2065: 'i' : undeclared identifier
ext\aop\aop.c(287) : error C2065: 'i' : undeclared identifier
ext\aop\aop.c(287) : error C2065: 'handle' : undeclared identifier
ext\aop\aop.c(287) : error C2065: 'i' : undeclared identifier
ext\aop\aop.c(288) : error C2065: 'i' : undeclared identifier
ext\aop\aop.c(290) : error C2065: 'handle' : undeclared identifier
ext\aop\aop.c(292) : error C2065: 'handle' : undeclared identifier
ext\aop\aop.c(293) : error C2065: 'handle' : undeclared identifier
ext\aop\aop.c(294) : error C2065: 'handle' : undeclared identifier
ext\aop\aop.c(296) : error C2065: 'handle' : undeclared identifier
ext\aop\aop.c(296) : error C2065: 'func_name' : undeclared identifier
ext\aop\aop.c(296) : warning C4047: 'function' : 'const char *' differs in
levels of indirection from 'int'
ext\aop\aop.c(296) : warning C4024: 'zend_hash_find' : different types for formal and
actual parameter 2
ext\aop\aop.c(296) : error C2065: 'func_name' : undeclared identifier
ext\aop\aop.c(296) : warning C4047: 'function' : 'const char *' differs in
levels of indirection from 'int'
ext\aop\aop.c(296) : warning C4024: 'strlen' : different types for formal and actual
parameter 1
ext\aop\aop.c(296) : error C2065: 'cache' : undeclared identifier
ext\aop\aop.c(298) : error C2065: 'cache' : undeclared identifier
ext\aop\aop.c(298) : warning C4047: '==' : 'int' differs in levels of
indirection from 'void *'
ext\aop\aop.c(298) : error C2065: 'cache' : undeclared identifier
ext\aop\aop.c(298) : error C2223: left of '->declare_count' must point to struct/union
ext\aop\aop.c(298) : error C2065: 'cache' : undeclared identifier
ext\aop\aop.c(298) : error C2223: left of '->ce' must point to struct/union
ext\aop\aop.c(299) : error C2065: 'cache' : undeclared identifier
ext\aop\aop.c(299) : warning C4047: '!=' : 'int' differs in levels of
indirection from 'void *'
ext\aop\aop.c(300) : error C2065: 'handle' : undeclared identifier
ext\aop\aop.c(300) : error C2065: 'func_name' : undeclared identifier
ext\aop\aop.c(300) : warning C4047: 'function' : 'const char *' differs in
levels of indirection from 'int'
ext\aop\aop.c(300) : warning C4024: 'zend_hash_del_key_or_index' : different types for
formal and actual parameter 2
ext\aop\aop.c(300) : error C2065: 'func_name' : undeclared identifier
ext\aop\aop.c(300) : warning C4047: 'function' : 'const char *' differs in
levels of indirection from 'int'
ext\aop\aop.c(300) : warning C4024: 'strlen' : different types for formal and actual
parameter 1
ext\aop\aop.c(302) : error C2065: 'cache' : undeclared identifier
ext\aop\aop.c(302) : warning C4047: '=' : 'int' differs in levels of indirection
from 'void *'
ext\aop\aop.c(303) : error C2065: 'cache' : undeclared identifier
ext\aop\aop.c(303) : error C2223: left of '->ht' must point to struct/union
ext\aop\aop.c(304) : error C2065: 'cache' : undeclared identifier
ext\aop\aop.c(304) : error C2223: left of '->ht' must point to struct/union
ext\aop\aop.c(305) : error C2065: 'cache' : undeclared identifier
ext\aop\aop.c(305) : error C2223: left of '->count' must point to struct/union
ext\aop\aop.c(307) : error C2065: 'cache' : undeclared identifier
ext\aop\aop.c(307) : error C2223: left of '->count' must point to struct/union
ext\aop\aop.c(307) : error C2065: 'cache' : undeclared identifier
ext\aop\aop.c(307) : error C2223: left of '->ht' must point to struct/union
ext\aop\aop.c(309) : error C2065: 'cache' : undeclared identifier
ext\aop\aop.c(309) : error C2223: left of '->declare_count' must point to struct/union
ext\aop\aop.c(310) : error C2065: 'cache' : undeclared identifier
ext\aop\aop.c(310) : error C2223: left of '->ce' must point to struct/union
ext\aop\aop.c(311) : error C2065: 'handle' : undeclared identifier
ext\aop\aop.c(311) : error C2065: 'func_name' : undeclared identifier
ext\aop\aop.c(311) : warning C4047: 'function' : 'const char *' differs in
levels of indirection from 'int'
ext\aop\aop.c(311) : warning C4024: '_zend_hash_add_or_update' : different types for
formal and actual parameter 2
ext\aop\aop.c(311) : error C2065: 'func_name' : undeclared identifier
ext\aop\aop.c(311) : warning C4047: 'function' : 'const char *' differs in
levels of indirection from 'int'
ext\aop\aop.c(311) : warning C4024: 'strlen' : different types for formal and actual
parameter 1
ext\aop\aop.c(311) : error C2065: 'cache' : undeclared identifier
ext\aop\aop.c(311) : warning C4022: '_zend_hash_add_or_update' : pointer mismatch for
actual parameter 4
ext\aop\aop.c(313) : error C2065: 'cache' : undeclared identifier
ext\aop\aop.c(313) : error C2223: left of '->ht' must point to struct/union
ext\aop\aop.c(313) : warning C4033: 'get_matching_ht' must return a value
ext\aop\aop.c(319) : error C2143: syntax error : missing ';' before 'type'
ext\aop\aop.c(320) : error C2275: 'pointcut' : illegal use of this type as an expression
        d:\php-sdk\php53dev\vc9\x86\php-5.3.27\ext\aop\aop.h(101) : see declaration of
'pointcut'
ext\aop\aop.c(320) : error C2065: 'current_pc' : undeclared identifier
ext\aop\aop.c(321) : error C2275: 'pointcut' : illegal use of this type as an expression
        d:\php-sdk\php53dev\vc9\x86\php-5.3.27\ext\aop\aop.h(101) : see declaration of
'pointcut'
ext\aop\aop.c(321) : error C2065: 'temp' : undeclared identifier
ext\aop\aop.c(321) : error C2100: illegal indirection
ext\aop\aop.c(335) : error C2065: 'temp' : undeclared identifier
ext\aop\aop.c(342) : error C2065: 'current_pc' : undeclared identifier
ext\aop\aop.c(342) : error C2065: 'temp' : undeclared identifier
ext\aop\aop.c(342) : error C2100: illegal indirection
ext\aop\aop.c(345) : error C2065: 'obj' : undeclared identifier
ext\aop\aop.c(345) : warning C4047: '=' : 'int' differs in levels of indirection
from 'AopJoinpoint_object *'
ext\aop\aop.c(346) : error C2065: 'obj' : undeclared identifier
ext\aop\aop.c(346) : error C2223: left of '->current_pointcut' must point to
struct/union
ext\aop\aop.c(346) : error C2065: 'current_pc' : undeclared identifier
ext\aop\aop.c(348) : error C2065: 'obj' : undeclared identifier
ext\aop\aop.c(348) : error C2223: left of '->pos' must point to struct/union
ext\aop\aop.c(349) : error C2065: 'obj' : undeclared identifier
ext\aop\aop.c(349) : error C2223: left of '->advice' must point to struct/union
ext\aop\aop.c(350) : error C2065: 'obj' : undeclared identifier
ext\aop\aop.c(350) : fatal error C1003: error count exceeds 100; stopping compilation

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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=66521


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


Thread (8 messages)

« previous php.bugs (#212040) next »