Bug #15812 Updated: url_scanner_ex.c fails to Compile with SUN CC

From: Date: Fri, 01 Mar 2002 16:53:13 +0000
Subject: Bug #15812 Updated: url_scanner_ex.c fails to Compile with SUN CC
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1414@lists.php.net to get a copy of this message
ID: 15812 Updated by: derick@php.net Reported By: rk@netuse.de -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Solaris 8 PHP Version: 4.1.2 New Comment: Fixed in CVS. The change will be in PHP 4.2.0 Derick Previous Comments: ------------------------------------------------------------------------ [2002-03-01 11:08:41] rk@netuse.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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15812&edit=1

« previous php.bugs (#1414) next »