Re: Bug #11967 Updated: scan_set_error_return MUST NOT be "inline"

From: Date: Fri, 26 Oct 2001 14:08:25 +0000
Subject: Re: Bug #11967 Updated: scan_set_error_return MUST NOT be "inline"
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-69073@lists.php.net to get a copy of this message
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 On 23 Oct, Bug Database wrote: > ID: 11967 > Updated by: sniper > Reported By: emanuele.lombardi@casaccia.enea.it > Old Status: Open > Status: Feedback > Bug Type: Compile Failure > Operating System: Compaq Tru64 Unix 5.1 > PHP Version: 4.0.6 > New Comment: > > Does this happen with latest CVS snapshot from > http://snaps.php.net/ ? > > --Jani > > > Previous Comments: > ------------------------------------------------------------------------ > > [2001-07-09 06:06:24] emanuele.lombardi@casaccia.enea.it > > 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 > > ------------------------------------------------------------------------ > > > > ATTENTION! Do NOT reply to this email! > To reply, use the web interface found at > http://bugs.php.net/?id=11967&edit=2 -- $$$ Emanuele Lombardi $$$ mail: AMB-GEM-CLIM ENEA Casaccia $$$ I-00060 S.M. di Galeria (RM) ITALY $$$ mailto:emanuele.lombardi@casaccia.enea.it $$$ tel +39 06 30483366 fax +39 06 30484264 $$$ $$$ ||| $$$ \|/ ;_; $$$ What does a process need | /"\ $$$ to become a daemon ? | \v/ $$$ | | $$$ - a fork o---/!\--- $$$ | |_| $$$ | _/ \_ $$$* Contrary to popular belief, UNIX is user friendly. $$$ It's just very particular about who it makes friends with. $$$* Computers are not intelligent, but they think they are. $$$* True programmers never die, they just branch to an odd address $$$* THIS TRANSMISSION WAS MADE POSSIBLE BY 100% RECYCLED ELECTRONS

« previous php.dev (#69073) next »