php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16534 compilation failed on inline function url_scanner.c
Submitted: 2002-04-10 15:13 UTC Modified: 2002-04-23 00:07 UTC
From: armand at arsystemes dot fr Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.1.2 OS: Solaris 8
Private report: No CVE-ID: None
 [2002-04-10 15:13 UTC] armand at arsystemes dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-23 00:07 UTC] sniper@php.net
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

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Jan 10 21:00:01 2026 UTC