php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15812 url_scanner_ex.c fails to Compile with SUN CC
Submitted: 2002-03-01 11:08 UTC Modified: 2002-03-01 11:53 UTC
From: rk at netuse dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.1.2 OS: Solaris 8
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rk at netuse dot de
New email:
PHP Version: OS:

 

 [2002-03-01 11:08 UTC] rk at netuse dot de
$ cc -V
cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
usage: cc [ options] files.  Use 'cc -flags' for details
...
"url_scanner_ex.c", line 288: inline keyword cannot be applied to function "main
"
cc: acomp failed for url_scanner_ex.c
*** Error code 2

Reason: Line 288 says:
static inline void mainloop

SUN's cc fails here: Change to:
static void mainloop
and it works fine.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-01 11:53 UTC] derick@php.net
Fixed in CVS. The change will be in PHP 4.2.0

Derick
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Dec 05 01:00:02 2025 UTC