From: [EMAIL PROTECTED]
Operating system: Solaris 8
PHP version: 4.1.2
PHP Bug Type: Compile Failure
Bug description: compilation failed on inline function url_scanner.c
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 bug report at http://bugs.php.net/?id=16534&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16534&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16534&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16534&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16534&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16534&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16534&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16534&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16534&r=submittedtwice