Bug #16534 Updated: compilation failed on inline function url_scanner.c
| From: | sniper@php.net | Date: | Tue, 23 Apr 2002 04:07:52 +0000 |
| Subject: | Bug #16534 Updated: compilation failed on inline function url_scanner.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5619@lists.php.net to get a copy of this message | ||
ID: 16534
Updated by: sniper@php.net
Reported By: armand@arsystemes.fr
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Solaris 8
PHP Version: 4.1.2
New Comment:
This bug has already been fixed in the latest released version of
PHP, which you can download at http://www.php.net/downloads.php
Fixed in PHP 4.2.0
Previous Comments:
------------------------------------------------------------------------
[2002-04-10 15:13:31] armand@arsystemes.fr
The compilation of php in standalone mode failed.
I use Forte C 6 update 2.
Forte can't proceed the inline function on :
static inline void mainloop(url_adapt_state_ex_t *ctx, const char
*newdata, size_t newlen TSRMLS_DC)
{
char *end, *q;
char *xp;
char *start;
int rest;
smart_str_appendl(&ctx->buf, newdata, newlen);
YYCURSOR = ctx->buf.c;
YYLIMIT = ctx->buf.c + ctx->buf.len;
switch (STATE) {
case STATE_PLAIN: goto state_plain;
case STATE_TAG: goto state_tag;
case STATE_NEXT_ARG: goto state_next_arg;
case STATE_ARG: goto state_arg;
case STATE_BEFORE_VAL: goto state_before_val;
case STATE_VAL: goto state_val;
}
So I removed the "inline" definition in this function.
Regards,
Armand
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16534&edit=1