Re: PHP 4.0 Bug #5882 Updated: Use inline directive in *.c files for global functions in Zend engine
| From: | Maxim Batourine | Date: | Tue, 15 Aug 2000 21:34:23 +0000 |
| Subject: | Re: PHP 4.0 Bug #5882 Updated: Use inline directive in *.c files for global functions in Zend engine | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-29048@lists.php.net to get a copy of this message | ||
> The user probably needs to configure PHP with --enable-c9x-inline
Of course. And this is may be additional bug - with out this parameters
in configure, you can't compile library. This option must be
enable,becouse you have defenitions in your headers such as:
ZEND_API inline int i_zend_is_true(zval
*op)
#if
defined(C9X_INLINE_SEMANTICS)
{
....
}
#endif
if you don't use --enable-c9x-inline, function will be define as inline
,or if you use -Dinline= in CFLAGS as normal external function, but
without any implementation, becouse I didn't find implamentation of
those functions in other sources - only in headers inside of #if -
#endif bracket.
The best way for remove bug - move all inline function to headers.
This is first, that I think.
But may be not best path :-)
> Please try this and report back to us whether it works for you.
> Full Bug description available at: http://bugs.php.net/?id=5882