Re: cvs: php-src(PHP_5_3) /ext/pdo pdo_stmt.c /ext/phar phar.phar /main php_ini.c php_ini.h ZendEngine2 zend.c zend.h zend_API.c zend_API.h
zend_compile.c zend_compile.h zend_constants.c zend_constants.h zend_execute.c zend_execute.h zend_e
| From: | Felipe Pena | Date: | Wed, 13 Aug 2008 16:26:42 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) /ext/pdo pdo_stmt.c /ext/phar phar.phar /main php_ini.c php_ini.h ZendEngine2 zend.c zend.h zend_API.c zend_API.h zend_compile.c zend_compile.h zend_constants.c zend_constants.h zend_execute.c zend_execute.h zend_e |
||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-52289@lists.php.net to get a copy of this message | ||
Em Qua, 2008-08-13 às 17:58 +0200, Pierre Joye escreveu:
> 2008/8/12 Felipe Pena <felipe@php.net>:
> > felipe Tue Aug 12 17:20:26 2008 UTC
> >
> > Modified files: (Branch: PHP_5_3)
> > /ZendEngine2 zend.c zend.h zend_API.c zend_API.h zend_compile.c
> > zend_compile.h zend_constants.c zend_constants.h
> > zend_execute.c zend_execute.h zend_extensions.c
> > zend_extensions.h zend_hash.c zend_hash.h
> > zend_modules.h zend_object_handlers.c
> > zend_object_handlers.h zend_objects.c zend_objects.h
> > zend_objects_API.c zend_objects_API.h zend_operators.c
> > zend_operators.h zend_stack.c zend_stack.h
> > /php-src/ext/pdo pdo_stmt.c
> > /php-src/ext/phar phar.phar
> > /php-src/main php_ini.c php_ini.h
> > Log:
> > - MFH: Constness (Added const qualifier to several function parameters)
>
> That breaks the windows build:
>
> zend_API.c
> Zend\zend_API.c(317) : error C2166: l-value specifies const object
> Zend\zend_API.c(351) : error C2166: l-value specifies const object
> Zend\zend_API.c(385) : error C2166: l-value specifies const object
> Zend\zend_API.c(386) : error C2166: l-value specifies const object
> Zend\zend_API.c(420) : error C2166: l-value specifies const object
> Zend\zend_API.c(442) : error C2166: l-value specifies const object
> Zend\zend_API.c(457) : error C2166: l-value specifies const object
> Zend\zend_API.c(472) : error C2166: l-value specifies const object
> Zend\zend_API.c(487) : error C2166: l-value specifies const object
> Zend\zend_API.c(502) : error C2166: l-value specifies const object
> Zend\zend_API.c(503) : error C2166: l-value specifies const object
> Zend\zend_API.c(524) : error C2166: l-value specifies const object
> Zend\zend_API.c(557) : error C2166: l-value specifies const object
> Zend\zend_API.c(558) : error C2166: l-value specifies const object
> Zend\zend_API.c(590) : error C2166: l-value specifies const object
> Zend\zend_API.c(601) : error C2166: l-value specifies const object
> Zend\zend_API.c(765) : error C2166: l-value specifies const object
> Zend\zend_API.c(766) : error C2166: l-value specifies const object
> zend_alloc.c
>
Ouch. I commited a possible fix. Try it please.
Thanks.
>
> Cheers,
--
Regards,
Felipe Pena.