Re: Re: PHP 4.0 Bug #5882 Updated: Use inline directive in *.c files for global functions in Zend engine
| From: | Sascha Schumann | Date: | Tue, 15 Aug 2000 22:10:51 +0000 |
| Subject: | Re: 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-29069@lists.php.net to get a copy of this message | ||
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