Re: [PHP-DEV] Compilation warning on offsetof in 5.4 and trunk

2011-07-02 Thread Felipe Pena
Hi, 2011/7/2 Jérôme Loyet : > Hi, > > in 5.4 and trunk, there is compilation warnings all pointing to > STD_PHP_INI_ENTRY > > > /home/fat/dev/php-src/trunk/sapi/fpm/fpm/fpm_main.c:1465:109: warning: > cast from pointer to integer of different size > /home/fat/dev/php-src/trunk/sapi/fpm/fpm/fpm_mai

Re: [PHP-DEV] Compilation warning on offsetof in 5.4 and trunk

2011-07-02 Thread Gustavo Lopes
On Sun, 03 Jul 2011 02:07:48 +0100, Jérôme Loyet wrote: the warnings appear in sapis (cgi, fpm, ...) and extensions (standard, ...) and the problem comes from the XOffsetOf macro which is expanded to offsetof defined in Zend/zend_operators.h whit the following code added in revisions 311662 an