ID: 7730
Updated by: zeev
Status: Assigned
Bug Type: Scripting Engine problem
Operating System: IRIX 6.5 (6.5.8m)
PHP Version: 4.0.3pl1
Assigned To: zeev
New Comment:

C doesn't really have a standard inline declaration (well, the old standard doesn't, 
C9X does, but I don't think it's supported by all compilers yet).

At any rate, I'll take the opportunity to remove the inline declaration from some of 
the functions.

Jani - BTW - it's not just a Zend problem :)

Previous Comments:

[2001-05-23 06:17:23] [EMAIL PROTECTED]

Zend problem.


[2000-11-09 12:03:32] [EMAIL PROTECTED]

With mipsPRO 7.2.1 (the C++/C IRIX compiler) it is not possible to declare a function 
in an header, define this as an __inline in a module (please use the standard C inline 
declaration instead of a very dangerous #define inline ....) and use the same in 
another module (this is only possible with some rad which see and compile all code in 
one step). I experienced some unresolved symbols due to bad inlining policy.
Following there is a list of removed inline (this is neither a definitive list, cos i 
do not configure all modules, nor the better one, but simply the list of my personal 
fixes which let me successfully link my first php executable):
ext/standard/scanf.c(1233, scan_set_error_return)
Zend/zend_API.c(186, _array_init)
Zend/zend_API.c(199, _object_init_ex)
Zend/zend_API.c(217, _object_init)
Zend/zend_API.c(230, add_assoc_long)
Zend/zend_API.c(242, add_assoc_unset)
Zend/zend_API.c(252, add_assoc_bool)
Zend/zend_API.c(276, add_assoc_double)
Zend/zend_API.c(288, add_assoc_string)
Zend/zend_API.c(305, add_assoc_stringl)
Zend/zend_API.c(322, add_index_long)
Zend/zend_API.c(334, add_index_unset)
Zend/zend_API.c(345, add_index_bool)
Zend/zend_API.c(369, add_index_double)
Zend/zend_API.c(381, add_index_string)
Zend/zend_API.c(398, add_index_stringl)
Zend/zend_API.c(415, add_next_index_long)
Zend/zend_API.c(427, add_next_index_unset)
Zend/zend_API.c(474, add_next_index_string)
Zend/zend_API.c(491, add_next_index_stringl)
Zend/zend_API.c(542, add_get_index_long)
Zend/zend_API.c(566, add_get_index_string)
Zend/zend_API.c(632, add_property_resource)
Zend/zend_API.c(656, add_property_string)
Zend/zend_API.c(673, add_property_stringl)
Zend/zend_variables.c(36, var_reset)
Zend/zend_ptr_stack.c(35, zend_ptr_stack_push)
Zend/zend_ptr_stack.c(82, zend_ptr_stack_pop)


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to