ID: 11967
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: Compile Failure
Operating System: Compaq Tru64 Unix 5.1
PHP Version: 4.0.6
New Comment:

Dear Jani,

The snap of 200110260300 now compiles properly under Compaq Tru64
Unix  5.1A. 

I upgraded my O.S. from 5.1 to 5.1A,  but the reason why the compilation
now works is for sure the elimination you have done of the line 
        inline void scan_set_error_return(int numVars,pval **return_value);
from ext/standard/scanf.h


Thank you very much for your attention,
greetings from Italy,

Emanuele


Previous Comments:
------------------------------------------------------------------------

[2001-10-23 09:08:43] [EMAIL PROTECTED]

Does this happen with latest CVS snapshot from http://snaps.php.net/ ?

--Jani


------------------------------------------------------------------------

[2001-07-09 06:06:24] [EMAIL PROTECTED]

compiling PHP under Tru64 Unix 5.1 (using cc) results in a error if in the file 
ext/standard/scanf.h
the function 
scan_set_error_return(int numVars,pval **turn_value);
is defined "inline void" instead of simply "void".

/bin/sh /TI_a3/users/lele/php-4.0.6/libtool --silent --mode=compile cc  -I. 
-I/TI_a3/users/lele/php-4.0.6/ext/standard -I/TI_a3/users/lele/php-4.0.6/main 
-I/TI_a3/users/lele/php-4.0.6 -I/usr/local/apache/include 
-I/TI_a3/users/lele/php-4.0.6/Zend -I/TI_a3/users/lele/php-4.0.6/ext/mysql/libmysql 
-I/TI_a3/users/lele/php-4.0.6/ext/xml/expat/xmltok 
-I/TI_a3/users/lele/php-4.0.6/ext/xml/expat/xmlparse 
-I/TI_a3/users/lele/php-4.0.6/TSRM  -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 
-DXML_BYTE_ORDER=12 -g  -c file.c
cc: Error: scanf.h, line 48: There is no definition for the inline function named 
scan_set_error_return in this compilation unit. (noinlfunc)
inline void scan_set_error_return(int numVars,pval **return_value);
------------^
gmake[3]: *** [file.lo] Error 1
gmake[3]: Leaving directory `/TI_a3/users/lele/php-4.0.6/ext/standard'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/TI_a3/users/lele/php-4.0.6/ext/standard'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/TI_a3/users/lele/php-4.0.6/ext'
gmake: *** [all-recursive] Error 1



defining the function as follows 
void scan_set_error_return(int numVars,pval **turn_value);

results in a clean compilation

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=11967&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to