[PHP-DEV] Bug #14190 Updated: tsrm_virtual_cwd.c:568: `mode_t' is promoted to `int' when passed through

2001-11-22 Thread xsaa

ID: 14190
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Compile Failure
Operating System: HP-UX 10.20
PHP Version: 4.0.6
New Comment:

Sorry. i forget to say that I used gcc 3.0.1 for compile


Previous Comments:


[2001-11-22 18:46:36] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=14190&edit=1


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14190: tsrm_virtual_cwd.c:568: `mode_t' is promoted to `int' when passed through

2001-11-22 Thread xsaa

From: [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]