From:             [EMAIL PROTECTED]
Operating system: Solaris 8
PHP version:      4.1.2
PHP Bug Type:     Compile Failure
Bug description:  url_scanner_ex.c fails to Compile with SUN CC

$ 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.
-- 
Edit bug report at http://bugs.php.net/?id=15812&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15812&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15812&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15812&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15812&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15812&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15812&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15812&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15812&r=submittedtwice

Reply via email to