Re: [PHP-CVS] com php-src: Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').: NEWS Zend/zend_language_parser.y

2013-04-05 Thread Laruence
Hey: I found another way, which will not break bison 2.3 support. that is, move the YYPARSE_PARAM definition into zend.h, or other header file which will always include before zend_language_parser.h and also include by zend_language_parse.c what do you think? thanks On Thu, Apr

Re: [PHP-CVS] com php-src: Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').: NEWS Zend/zend_language_parser.y

2013-04-05 Thread Laruence
Hey: the reason I am not sure about that is, the YYPARSE_PARAM is an bison specific macro, so it's a little weird if we define them in another header file... thanks On Fri, Apr 5, 2013 at 11:13 PM, Laruence larue...@php.net wrote: Hey: I found another way, which will not break

Re: [PHP-CVS] com php-src: Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').: NEWS Zend/zend_language_parser.y

2013-04-04 Thread Johannes Schlüter
On Wed, 2013-04-03 at 19:04 +0800, Laruence wrote: Hey: remi did, see https://bugs.php.net/bug.php?id=64503 but seems start from 2.4.1 Then please update Zend/acinclude.m4: accordingly. johannes -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP-CVS] com php-src: Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').: NEWS Zend/zend_language_parser.y

2013-04-03 Thread Johannes Schlüter
Hi, On Mon, 2013-03-25 at 15:48 +, Xinchen Hui wrote: +%code requires { +#ifdef ZTS +# define YYPARSE_PARAM tsrm_ls +# define YYLEX_PARAM tsrm_ls +#endif +} + This doesn't seem to work with bison 2.3, either we have to increase the bison dependency or find another fix. Bison 2.3 is

Re: [PHP-CVS] com php-src: Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').: NEWS Zend/zend_language_parser.y

2013-04-03 Thread Laruence
On Wed, Apr 3, 2013 at 4:56 PM, Johannes Schlüter johan...@schlueters.dewrote: Hi, On Mon, 2013-03-25 at 15:48 +, Xinchen Hui wrote: +%code requires { +#ifdef ZTS +# define YYPARSE_PARAM tsrm_ls +# define YYLEX_PARAM tsrm_ls +#endif +} + This doesn't seem to work with bison

Re: [PHP-CVS] com php-src: Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').: NEWS Zend/zend_language_parser.y

2013-04-03 Thread Johannes Schlüter
On Wed, 2013-04-03 at 18:26 +0800, Laruence wrote: Hey: yes, %code is introduced in bison 2.3+(it is said is 2.3a) . so, maybe we need to drop supports of 2.3 in 5.5 release, or revert this fix,, wait for somethings (like one year) thanks Bison 2.4 is from November 2008. As

Re: [PHP-CVS] com php-src: Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').: NEWS Zend/zend_language_parser.y

2013-04-03 Thread Laruence
On Wed, Apr 3, 2013 at 6:44 PM, Johannes Schlüter johan...@schlueters.dewrote: On Wed, 2013-04-03 at 18:26 +0800, Laruence wrote: Hey: yes, %code is introduced in bison 2.3+(it is said is 2.3a) . so, maybe we need to drop supports of 2.3 in 5.5 release, or revert this fix,,