php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18588 pointer mismatch
Submitted: 2002-07-26 05:02 UTC Modified: 2002-11-16 01:08 UTC
From: nohn@php.net Assigned:
Status: No Feedback Package: Compile Warning
PHP Version: 4CVS-2002-08-14 OS: OSF1 V4.0 1530 (Tru64)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: nohn@php.net
New email:
PHP Version: OS:

 

 [2002-07-26 05:02 UTC] nohn@php.net
These warnings come up:

cc: Warning: /usr/users/nohn/php4-200207260000/ext/mbstring/mbstring.c, line 2469: In this statement, the referenced type of the pointer value "&size" is "int", which is not compatible with "unsigned long". (ptrmismatch)
        ret = php_mb_convert_encoding( Z_STRVAL_PP(arg_str), Z_STRLEN_PP(arg_str), Z_STRVAL_PP(arg_new), _from_encodings, &size TSRMLS_CC);
--------------------------------------------------------------------------------------------------------------------------^
cc: Warning: /usr/users/nohn/php4-200207260000/ext/mbstring/mbstring.c, line 2543: In this statement, the referenced type of the pointer value "(**arg_str).value.str.val" is "signed char", which is not compatible with "unsigned char". (ptrmismatch)
        string.val = Z_STRVAL_PP(arg_str);
--------^
cc: Warning: /usr/users/nohn/php4-200207260000/ext/mbstring/mbstring.c, line 2618: In this statement, the referenced type of the pointer value "(**argv[0]).value.str.val" is "signed char", which is not compatible with "unsigned char". (ptrmismatch)
        string.val = Z_STRVAL_PP(argv[0]);
--------^
cc: Warning: /usr/users/nohn/php4-200207260000/ext/mbstring/mbstring.c, line 2622: In the initializer for __s, the referenced type of the pointer value "(ret->val)" is "unsigned char", which is not compatible with "signed char". (ptrmismatch)
                RETVAL_STRINGL(ret->val, ret->len, 0)   /* the string is already strdup()'ed */
----------------^
cc: Warning: /usr/users/nohn/php4-200207260000/ext/mbstring/mbstring.c, line 2646: In this statement, the referenced type of the pointer value "(**arg_str).value.str.val" is "signed char", which is not compatible with "unsigned char". (ptrmismatch)
        string.val = Z_STRVAL_PP(arg_str);
--------^
cc: Warning: /usr/users/nohn/php4-200207260000/ext/mbstring/mbstring.c, line 2650: In the initializer for __s, the referenced type of the pointer value "(ret->val)" is "unsigned char", which is not compatible with "signed char". (ptrmismatch)
                RETVAL_STRINGL(ret->val, ret->len, 0)   /* the string is already strdup()'ed */
cc: Warning: /usr/users/nohn/php4-200207260000/ext/mbstring/mbstring.c, line 2682: In this statement, the referenced type of the pointer value "(**arg1).value.str.val" is "signed char", which is not compatible with "unsigned char". (ptrmismatch)
        string.val = Z_STRVAL_PP(arg1);
--------^
cc: Warning: /usr/users/nohn/php4-200207260000/ext/mbstring/mbstring.c, line 2767: In the initializer for __s, the referenced type of the pointer value "(ret->val)" is "unsigned char", which is not compatible with "signed char". (ptrmismatch)
                RETVAL_STRINGL(ret->val, ret->len, 0);          /* the string is already strdup()'ed */
----------------^
cc: Warning: /usr/users/nohn/php4-200207260000/ext/mbstring/mbstring.c, line 2884: In this statement, the referenced type of the pointer value "(**hash_entry).value.str.val" is "signed char", which is not compatible with "unsigned char". (ptrmismatch)
                                                                        string.val = Z_STRVAL_PP(hash_entry);
------------------------------------------------------------------------^
cc: Warning: /usr/users/nohn/php4-200207260000/ext/mbstring/mbstring.c, line 2893: In this statement, the referenced type of the pointer value "(**var).value.str.val" is "signed char", which is not compatible with "unsigned char". (ptrmismatch)
                                                string.val = Z_STRVAL_PP(var);
------------------------------------------------^
cc: Warning: /usr/users/nohn/php4-200207260000/ext/mbstring/mbstring.c, line 2973: In this statement, the referenced type of the pointer value "(**hash_entry).value.str.val" is "signed char", which is not compatible with "unsigned char". (ptrmismatch)
                                                                string.val = Z_STRVAL_PP(hash_entry);
----------------------------------------------------------------^
cc: Warning: /usr/users/nohn/php4-200207260000/ext/mbstring/mbstring.c, line 2978: In this statement, the referenced type of the pointer value "ret->val" is "unsigned char", which is not compatible with "signed char". (ptrmismatch)
                                                                        Z_STRVAL_PP(hash_entry) = ret->val;

(and some more)

========================================================
========================================================

Originally i wanted to report this, but it seems fixed ;)

On OSF1 V4.0 1530 alpha 

'./configure' '--prefix=/usr/local' '--with-apache=/usr/local/Apachetoolbox-1.5.56/apache_1.3.24' '--enable-exif' '--enable-track-vars' '--with-calendar=shared' '--enable-safe-mode' '--enable-magic-quotes' '--enable-trans-sid' '--enable-wddx' '--enable-ftp' '--with-openssl=/usr/local' '--with-oci8=/appl/oracle/product/8.1.6' '--with-mysql=/usr/local/mysql' 

PHP 4.2.0 produces this:

Array
(
    [0] => 7
    [2] => 9
)
Array
(
    [0] => 9
    [1] => 7
    [2] => 8
)

----- 

With  php4-200207260000 (php4-latest.tar.gz) this happens on the same machine:

'./configure' '--prefix=/usr/users/nohn'

./php diff.php 
Unaligned access pid=19451 <php> va=0x140062cac pc=0x1201aace0 ra=0x1201aacd4 inst=0xb4010000

Array
(
    [0] => 7
    [2] => 9
)
Array
(
    [0] => 9
    [1] => 7
)

----- 

On SunOS 5.7 Generic_106541-15 sun4us sparc FJSV,GPUS this happens:

'./configure' '--prefix=/usr/local' '--with-apache=/export/home/lket/Apachetoolbox-1.5.58/apache_1.3.26' '--enable-exif' '--enable-track-vars' '--with-calendar=shared' '--enable-magic-quotes' '--enable-trans-sid' '--enable-wddx' '--enable-ftp' '--enable-inline-optimization' '--enable-memory-limit' '--with-gd=/usr/local' '--with-zlib' '--enable-gd-native-tt' '--with-t1lib=/usr/local' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-zlib-dir=/usr/local' '--with-ttf' '--with-freetype-dir=/usr/local' '--with-oci8=/appl/oracle/product/8.1.7'

Array
(
    [0] => 7
    [2] => 9
)
Array
(
    [0] => 9
    [1] => 7
)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-26 05:05 UTC] nohn@php.net
changed summary
 [2002-08-13 22:29 UTC] kalowsky@php.net
Again is this still valid with all the work going on in the mbstring?
 [2002-08-24 09:30 UTC] helly@php.net
I changed html_entities.c to unix format...
CR warnings should be gone now
 [2002-10-17 23:11 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-11-01 05:43 UTC] nohn@php.net
In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/ctype/ctype.c:23: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/exif/exif.c:60: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here /usr/users/nohn/php-4.3.0pre2/ext/exif/exif.c:85: warning: redefinition of `uchar' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/sys/types.h:580: warning: `uchar' previously declared here /usr/users/nohn/php-4.3.0pre2/ext/exif/exif.c: In function `exif_process_IFD_in_JPEG': /usr/users/nohn/php-4.3.0pre2/ext/exif/exif.c:3031: warning: cast from pointer to integer of different size /usr/users/nohn/php-4.3.0pre2/ext/exif/exif.c:3031: warning: cast from pointer to integer of different size /usr/users/nohn/php-4.3.0pre2/ext/exif/exif.c:3031: warning: cast from pointer to integer of different size /usr/users/nohn/php-4.3.0pre2/ext/exif/exif.c:3031: warning: cast from pointer to integer of different size In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/ftp/php_ftp.c:26: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/ftp/ftp.c:22: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbfilter_ja.c:86: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbfilter_cn.c:29: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbfilter_tw.c:29: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbfilter_kr.c:29: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbfilter_ru.c:29: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbfilter.c:89: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbfilter.c: In function `mbfl_filt_conv_html_dec_ctor': /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbfilter.c:3593: warning: cast from pointer to integer of different size /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbfilter.c: In function `mbfl_filt_conv_html_dec_dtor': /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbfilter.c:3602: warning: cast to pointer from integer of different size /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbfilter.c: In function `mbfl_filt_conv_html_dec': /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbfilter.c:3612: warning: cast to pointer from integer of different size /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbfilter.c: In function `mbfl_filt_conv_html_dec_flush': /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbfilter.c:3700: warning: cast to pointer from integer of different size In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbstring.c:52: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbstring.c: In function `zif_mb_convert_encoding': /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbstring.c:2537: warning: passing arg 5 of `php_mb_convert_encoding' from incompatible pointer type In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbregex.c:24: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbregex.c: In function `mbre_match': /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbregex.c:3929: warning: cast to pointer from integer of different size /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbregex.c:3974: warning: cast to pointer from integer of different size /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbregex.c:4089: warning: cast to pointer from integer of different size /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbregex.c:4192: warning: cast to pointer from integer of different size /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbregex.c:4218: warning: cast to pointer from integer of different size /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbregex.c:4231: warning: cast to pointer from integer of different size /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbregex.c:4263: warning: cast to pointer from integer of different size /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbregex.c:4274: warning: cast to pointer from integer of different size /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbregex.c:4291: warning: cast to pointer from integer of different size /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbregex.c:4445: warning: cast from pointer to integer of different size /usr/users/nohn/php-4.3.0pre2/ext/mbstring/mbregex.c:4495: warning: cast to pointer from integer of different size In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/mbstring/php_mbregex.c:26: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/mbstring/html_entities.c:25: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/mbstring/php_unicode.c:37: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/mysql/php_mysql.c:32: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here /usr/users/nohn/php-4.3.0pre2/ext/mysql/php_mysql.c: In function `zif_mysql_client_encoding': /usr/users/nohn/php-4.3.0pre2/ext/mysql/php_mysql.c:1096: warning: cast to pointer from integer of different size In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/oci8/oci8.c:61: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/openssl/openssl.c:27: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/overload/overload.c:42: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/pcre/php_pcre.c:25: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/posix/posix.c:25: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/session/session.c:26: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/session/mod_files.c:21: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/session/mod_mm.c:21: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/session/mod_user.c:21: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/standard/array.c:26: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/standard/base64.c:22: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36,                  from /usr/users/nohn/php-4.3.0pre2/Zend/zend.h:63,                  from /usr/users/nohn/php-4.3.0pre2/main/php.h:34,                  from /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:22: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1377: warning: `struct option' declared inside parameter list /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1377: warning: its scope is only this definition or declaration, which is probably not what you want. /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c: In function `free_longopts': /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1382: dereferencing pointer to incomplete type /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1382: increment of pointer to unknown structure /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1382: arithmetic on pointer to an incomplete type /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1383: dereferencing pointer to incomplete type /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c: In function `zif_getopt': /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1458: sizeof applied to an incomplete type /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1470: dereferencing pointer to incomplete type /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1474: dereferencing pointer to incomplete type /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1477: dereferencing pointer to incomplete type /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1482: dereferencing pointer to incomplete type /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1483: dereferencing pointer to incomplete type /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1484: dereferencing pointer to incomplete type /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1487: increment of pointer to unknown structure /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1487: arithmetic on pointer to an incomplete type /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1519: arithmetic on pointer to an incomplete type /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1519: dereferencing pointer to incomplete type /usr/users/nohn/php-4.3.0pre2/ext/standard/basic_functions.c:1548: warning: passing arg 1 of `free_longopts' from incompatible pointer type  Stop. 
 [2002-11-01 10:06 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


And NOT the pre2!

 [2002-11-16 01:08 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 02:01:30 2024 UTC