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

On Tue, 15 Aug 2000, Maxim Batourine wrote:

>
> > Looks like problem in the compiler, because these functions aren't declared static.
> I am sorry, this is my mistake, this function declared as inline, and
> (in ANSI compilers) cann't use as external function,

    ANSI C does not define the inline declarator. It appeared in
    ISO C99 for the first time.

> No, becouse, in this situation you defined function in headers with
> implemantation, and in many object files at same time will exist same
> function with equal name - this is error for linker - it cann't choose
> function which will exists in library.

    That is only true, if you configure with
    --enable-c9x-inline. If you want to use -Dinline=, then you
    shall not enable that option.

    - Sascha

-- 
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>