Bug #14190: tsrm_virtual_cwd.c:568: `mode_t' is promoted to `int' when passed through
| From: | xsaa at gmx dot net | Date: | Thu, 22 Nov 2001 23:46:37 +0000 |
| Subject: | Bug #14190: tsrm_virtual_cwd.c:568: `mode_t' is promoted to `int' when passed through | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-71439@lists.php.net to get a copy of this message | ||
From: xsaa@gmx.net
Operating system: HP-UX 10.20
PHP version: 4.0.6
PHP Bug Type: Compile Failure
Bug description: tsrm_virtual_cwd.c:568:
mode_t' is promoted to int' when
passed through
i used:
configure --with-apache=/opt/apache/bin
--with-oci8=/rdbms_v8/oracle/product/8.0.6
And the Exact Error Was:
php_apache.c:379: warning: assignment makes pointer from integer without a
cast
/bin/sh /opt/php/php-4.0.6/libtool --silent --mode=link gcc -I.
-I/opt/
php/php-4.0.6/sapi/apache -I/opt/php/php-4.0.6/main -I/opt/php/php-4.0.6
-I/opt/
apache/bin/src -I/opt/php/php-4.0.6/Zend
-I/opt/php/php-4.0.6/ext/mysql/libmysql
-I/rdbms_v8/oracle/product/8.0.6/rdbms/demo
-I/rdbms_v8/oracle/product/8.0.6/ne
twork/public -I/opt/php/php-4.0.6/ext/xml/expat/xmltok
-I/opt/php/php-4.0.6/ext/
xml/expat/xmlparse -I/opt/php/php-4.0.6/TSRM -I/opt/apache/bin/src
-DSUPPORT_UTF
8 -DXML_BYTE_ORDER=21 -g -O2 -o libsapi.la sapi_apache.lo mod_php4.lo
php_apa
che.lo
Making install in TSRM
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -
I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c TSRM.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -
I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c tsrm_strtok_r.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -
I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
tsrm_virtual_cwd.c
tsrm_virtual_cwd.c: In function `virtual_open':
tsrm_virtual_cwd.c:568: mode_t' is promoted to int' when passed through
`...'
tsrm_virtual_cwd.c:568: (so you should pass int' not mode_t' to
`va_arg')
*** Error exit code 1
Stop.
*** Error exit code 1
--
Edit bug report at: http://bugs.php.net/?id=14190&edit=1