Re: Parse error in Zend

From: Date: Fri, 10 May 2002 01:11:14 +0000
Subject: Re: Parse error in Zend
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-83857@lists.php.net to get a copy of this message
Hello, This should be because of my patch, which committed by Rui 2 days ago. Sorry for sparing your time... Anyway, attached patch will fix this problem. this patch simply removes '#include "zend_istdiostream.h"' in zend_multibyte.c. If this patch works, would someone commit this to HEAD please ? And if not, would you please show me your configure line ? Masaki Fujimoto On Thu, 9 May 2002 16:42:03 +0200 Magnus M <n0v3ll@kiruna.se> wrote: > >From latest CVS: > > /bin/sh /mnt/data1/Apps/CVS/PHP/php4/libtool --mode=compile gcc -IZend/ > -I/mnt/data1/Apps/CVS/PHP/php4/Zend/ -DPHP_ATOM_INC -I/mnt/data1/Apps/CVS/PHP/php4/include > -I/mnt/data1/Apps/CVS/PHP/php4/main -I/mnt/data1/Apps/CVS/PHP/php4 -I/usr/local/include > -I/usr/local/www/httpd2/include -I/mnt/data1/Apps/CVS/PHP/php4/Zend -I/usr/include/libxml2 > -I/usr/include/freetype2/freetype -I/usr/include/c-client -I/usr/local/www/mysql4/include/mysql > -I/usr/local/include -I/usr/include/pspell -I/usr/include/ucd-snmp -D_REENTRANT > -I/mnt/data1/Apps/CVS/PHP/php4/TSRM -g -O2 -pthread -Wall -DZTS -prefer-pic -c > /mnt/data1/Apps/CVS/PHP/php4/Zend/zend_multibyte.c -o Zend/zend_multibyte.lo > gcc -IZend/ -I/mnt/data1/Apps/CVS/PHP/php4/Zend/ -DPHP_ATOM_INC > -I/mnt/data1/Apps/CVS/PHP/php4/include -I/mnt/data1/Apps/CVS/PHP/php4/main > -I/mnt/data1/Apps/CVS/PHP/php4 -I/usr/local/include -I/usr/local/www/httpd2/include > -I/mnt/data1/Apps/CVS/PHP/php4/Zend -I/usr/include/libxml2 -I/usr/include/freetype2/freetype > -I/usr/include/c-client -I/usr/local/www/mysql4/include/mysql -I/usr/local/include > -I/usr/include/pspell -I/usr/include/ucd-snmp -D_REENTRANT -I/mnt/data1/Apps/CVS/PHP/php4/TSRM -g > -O2 -pthread -Wall -DZTS -c /mnt/data1/Apps/CVS/PHP/php4/Zend/zend_multibyte.c -fPIC -DPIC -o > Zend/zend_multibyte.lo > In file included from /mnt/data1/Apps/CVS/PHP/php4/Zend/zend_multibyte.c:24: > /mnt/data1/Apps/CVS/PHP/php4/Zend/zend_istdiostream.h:5: parse error before `istdiostream' > /mnt/data1/Apps/CVS/PHP/php4/Zend/zend_istdiostream.h:11: warning: return-type defaults to > `int' > /mnt/data1/Apps/CVS/PHP/php4/Zend/zend_istdiostream.h: In function `rdbuf': > /mnt/data1/Apps/CVS/PHP/php4/Zend/zend_istdiostream.h:11: `_file' undeclared (first use in > this function) > /mnt/data1/Apps/CVS/PHP/php4/Zend/zend_istdiostream.h:11: (Each undeclared identifier is > reported only once > /mnt/data1/Apps/CVS/PHP/php4/Zend/zend_istdiostream.h:11: for each function it appears in.) > /mnt/data1/Apps/CVS/PHP/php4/Zend/zend_istdiostream.h:11: warning: control reaches end of > non-void function > /mnt/data1/Apps/CVS/PHP/php4/Zend/zend_istdiostream.h: At top level: > /mnt/data1/Apps/CVS/PHP/php4/Zend/zend_istdiostream.h:12: parse error before `}' > make: *** [Zend/zend_multibyte.lo] Error 1 > > > Regards > Magnus M蒿ttd > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Masaki Fujimoto fujimoto@php.net fujimoto@studio.co.jp

« previous php.dev (#83857) next »