Bug #13143 Updated: TSRM fails to build
| From: | sniper@php.net | Date: | Sun, 18 Nov 2001 03:58:28 +0000 |
| Subject: | Bug #13143 Updated: TSRM fails to build | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70775@lists.php.net to get a copy of this message | ||
ID: 13143
Updated by: sniper
Reported By: richard.begg@colesmyer.com.au
Old Status: Critical
Status: Closed
Bug Type: Compile Failure
Operating System: HPUX 11.00 - gcc 3.0.1
PHP Version: 4.0CVS-2001-09-04
New Comment:
Fixed in CVS (by Zeev)
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-10-23 10:40:16] sniper@php.net
This bug report shows that this was just ignored in precvious GCC versions. The gcc 3.0.x version
will
produce an error.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2663&database=gcc
This has to be fixed.
--Jani
------------------------------------------------------------------------
[2001-09-04 18:57:24] richard.begg@colesmyer.com.au
This problem is identical to that reported in bugid 12195, but still occurs on HPUX 11.00 compiled
with gcc 3.0.1 even on the latest CVS code.
Configured with:
./configure --with-apxs=/opt/apache/bin/apxs
Build results in:
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHPUX11
-DMOD_SSL=208104 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../TSRM -g -O2 -c -o
tsrm_virtual_cwd.lo
test -f tsrm_virtual_cwd.c || echo './'tsrm_virtual_cwd.c
tsrm_virtual_cwd.c: In function `virtual_open':
tsrm_virtual_cwd.c:556: mode_t' is promoted to int' when passed through
`...'
tsrm_virtual_cwd.c:556: (so you should pass int' not mode_t' to
`va_arg')
make[1]: *** [tsrm_virtual_cwd.lo] Error 1
make[1]: Leaving directory `/CML/rts/build/php4/TSRM'
make: *** [all-recursive] Error 1
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13143&edit=1