Bug #14190 Updated: tsrm_virtual_cwd.c:568: `mode_t' is promoted to `int' when passed through

From: Date: Thu, 22 Nov 2001 23:51:17 +0000
Subject: Bug #14190 Updated: tsrm_virtual_cwd.c:568: `mode_t' is promoted to `int' when passed through
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-71440@lists.php.net to get a copy of this message
ID: 14190 User updated by: xsaa@gmx.net Reported By: xsaa@gmx.net 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] xsaa@gmx.net 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

« previous php.dev (#71440) next »