[PHP-DEV] Re: PHP 4.0 Bug #5882 Updated: Use inline directive in *.c files for global functions in Zend engine From: Maxim Batourine (mbaturin <email protected>)
Date: 08/15/00

 
> 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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>