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 Wed, 16 Aug 2000, Stanislav Malyshev wrote:

> MB>> The best way for remove bug - move all inline function to headers.
>
> This will break gcc compiles. To say nothing of that it would be godawful
> ugly.

    This does not necessarily break gcc builds. We will continue
    to support both inline models, gcc's and C99's.

> I still don't get why some compilers regard inline as macro. If there's no
> "static", function should be in symbol table, not?

    Does anyone have access to ISO 9899:1999?

    The initial proposal[1] defined that inline shall not imply
    internal linkage. This violates the "One definition rule"
    (see list of Unresolved issues), so maybe it got changed
    later.

    [1] http://wwwold.dkuug.dk/jtc1/sc22/wg14/www/docs/n633.htm

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