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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 11:01:30 2024 UTC