Re: [PHP-CVS] 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 zen

2008-08-13 Thread Pierre Joye
2008/8/12 Felipe Pena [EMAIL PROTECTED]:
 felipe  Tue Aug 12 17:20:26 2008 UTC

  Modified files:  (Branch: PHP_5_3)
/ZendEngine2zend.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/pdopdo_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


Cheers,
-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-CVS] 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 zen

2008-08-13 Thread Felipe Pena
Em Qua, 2008-08-13 às 17:58 +0200, Pierre Joye escreveu:
 2008/8/12 Felipe Pena [EMAIL PROTECTED]:
  felipe  Tue Aug 12 17:20:26 2008 UTC
 
   Modified files:  (Branch: PHP_5_3)
 /ZendEngine2zend.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/pdopdo_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.


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php