ID: 20827 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating System: Tru64 PHP Version: 4.3.0RC2 New Comment:
Same thing happens with 4.3.0 release, in the same file main/streams.c but on line 677 Previous Comments: ------------------------------------------------------------------------ [2002-12-05 08:52:35] [EMAIL PROTECTED] When compile PHP-4.3.0RC2 on Tru64 arch, I got : [.............] /usr/local/tmp/php-4.3.0RC2/main/streams.c: In function `_php_stream_stat': /usr/local/tmp/php-4.3.0RC2/main/streams.c:655: structure has no member named `_F64_stat' [.............] The bogus line is : return stream->ops->stat(stream, ssb TSRMLS_CC); Indeed, on this arch, 'stat' is a macro to '_F64_stat' whereas it use here as a member of struct '_php_stream_ops'. So I've added parenthesis to prevent macro expansion : return (stream->ops->stat)(stream, ssb TSRMLS_CC); PS: I saw the same pb on CVS version. Sincerly, Julien ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20827&edit=1