php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40440 compile Error on output.c
Submitted: 2007-02-12 04:54 UTC Modified: 2007-02-12 09:44 UTC
From: n_pairat at yahoo dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.4.4 OS: tru64 v4.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: n_pairat at yahoo dot com
New email:
PHP Version: OS:

 

 [2007-02-12 04:54 UTC] n_pairat at yahoo dot com
Description:
------------
my configure :
./configure \
        --with-mysql \
        --with-apxs=/usr/local/apache/bin/apxs \
        --with-zlib \
        --with-gd

my message compile :
/bin/ksh /bbl/usr/npairat/tmp/php-4.4.4/libtool --silent --preserve-dup-deps --m
ode=compile cc  -Imain/ -I/bbl/usr/npairat/tmp/php-4.4.4/main/ -DPHP_ATOM_INC -I
/bbl/usr/npairat/tmp/php-4.4.4/include -I/bbl/usr/npairat/tmp/php-4.4.4/main -I/
bbl/usr/npairat/tmp/php-4.4.4 -I/bbl/usr/npairat/tmp/php-4.4.4/ext/xml/expat -I/
bbl/usr/npairat/tmp/php-4.4.4/TSRM -I/bbl/usr/npairat/tmp/php-4.4.4/Zend    -g -
ieee   -c /bbl/usr/npairat/tmp/php-4.4.4/main/output.c -o main/output.lo
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 62: In this stat
ement, the referenced type of the pointer value "php_default_output_func" is "fu
nction (pointer to signed char, unsigned int) returning int", which is not compa
tible with "function (pointer to const signed char, unsigned int) returning int"
. (ptrmismatch)
        OG(php_body_write) = php_default_output_func;
--------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 63: In this stat
ement, the referenced type of the pointer value "php_default_output_func" is "fu
nction (pointer to signed char, unsigned int) returning int", which is not compa
tible with "function (pointer to const signed char, unsigned int) returning int"
. (ptrmismatch)
        OG(php_header_write) = php_default_output_func;
--------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 88: In this stat
ement, the referenced type of the pointer value "php_ub_body_write" is "function
 (pointer to signed char, unsigned int) returning int", which is not compatible
with "function (pointer to const signed char, unsigned int) returning int". (ptr
mismatch)
        OG(php_body_write) = php_ub_body_write;
--------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 89: In this stat
ement, the referenced type of the pointer value "sapi_module.ub_write" is "funct
ion (pointer to signed char, unsigned int) returning int", which is not compatib
le with "function (pointer to const signed char, unsigned int) returning int". (
ptrmismatch)
        OG(php_header_write) = sapi_module.ub_write;
--------^
cc: Error: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 119: In this decla
ration, parameter 1 has a different type than specified in an earlier declaratio
n of this function. (mismatparam)
PHPAPI int php_body_write(const char *str, uint str_length TSRMLS_DC)
-----------^
cc: Error: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 119: In this decla
ration, the type of "php_body_write" is not compatible with the type of a previo
us declaration of "php_body_write" at line number 30 in file /bbl/usr/npairat/tm
p/php-4.4.4/main/php_output.h. (notcompat)
PHPAPI int php_body_write(const char *str, uint str_length TSRMLS_DC)
-----------^
cc: Error: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 127: In this decla
ration, parameter 1 has a different type than specified in an earlier declaratio
n of this function. (mismatparam)
PHPAPI int php_header_write(const char *str, uint str_length TSRMLS_DC)
-----------^
cc: Error: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 127: In this decla
ration, the type of "php_header_write" is not compatible with the type of a prev
ious declaration of "php_header_write" at line number 31 in file /bbl/usr/npaira
t/tmp/php-4.4.4/main/php_output.h. (notcompat)
PHPAPI int php_header_write(const char *str, uint str_length TSRMLS_DC)
-----------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 145: In this sta
tement, the referenced type of the pointer value "php_ub_body_write_no_header" i
s "function (pointer to signed char, unsigned int) returning int", which is not
compatible with "function (pointer to const signed char, unsigned int) returning
 int". (ptrmismatch)
                        OG(php_body_write) = php_ub_body_write_no_header;
------------------------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 147: In this sta
tement, the referenced type of the pointer value "php_ub_body_write" is "functio
n (pointer to signed char, unsigned int) returning int", which is not compatible
 with "function (pointer to const signed char, unsigned int) returning int". (pt
rmismatch)
                        OG(php_body_write) = php_ub_body_write;
------------------------^
cc: Error: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 169: In this decla
ration, parameter 1 has a different type than specified in an earlier declaratio
n of this function. (mismatparam)
PHPAPI int php_start_ob_buffer_named(const char *output_handler_name, uint chunk
_size, zend_bool erase TSRMLS_DC)
-----------^
cc: Error: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 169: In this decla
ration, the type of "php_start_ob_buffer_named" is not compatible with the type
of a previous declaration of "php_start_ob_buffer_named" at line number 33 in fi
le /bbl/usr/npairat/tmp/php-4.4.4/main/php_output.h. (notcompat)
PHPAPI int php_start_ob_buffer_named(const char *output_handler_name, uint chunk
_size, zend_bool erase TSRMLS_DC)
-----------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 268: In this sta
tement, the referenced type of the pointer value "php_ub_body_write_no_header" i
s "function (pointer to signed char, unsigned int) returning int", which is not
compatible with "function (pointer to const signed char, unsigned int) returning
 int". (ptrmismatch)
                        OG(php_body_write) = php_ub_body_write_no_header;
------------------------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 270: In this sta
tement, the referenced type of the pointer value "php_ub_body_write" is "functio
n (pointer to signed char, unsigned int) returning int", which is not compatible
 with "function (pointer to const signed char, unsigned int) returning int". (pt
rmismatch)
                        OG(php_body_write) = php_ub_body_write;
------------------------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 325: In this sta
tement, the referenced type of the pointer value "php_b_body_write" is "function
 (pointer to signed char, unsigned int) returning int", which is not compatible
with "function (pointer to const signed char, unsigned int) returning int". (ptr
mismatch)
                OG(php_body_write) = php_b_body_write;
----------------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 446: In this sta
tement, the referenced type of the pointer value "php_b_body_write" is "function
 (pointer to signed char, unsigned int) returning int", which is not compatible
with "function (pointer to const signed char, unsigned int) returning int". (ptr
mismatch)
        OG(php_body_write) = php_b_body_write;
--------^
cc: Warning: /bbl/usr/npairat/tmp/php-4.4.4/main/output.c, line 724: In this sta
tement, the referenced type of the pointer value "php_ub_body_write_no_header" i
s "function (pointer to signed char, unsigned int) returning int", which is not
compatible with "function (pointer to const signed char, unsigned int) returning
 int". (ptrmismatch)
                OG(php_body_write) = php_ub_body_write_no_header;
----------------^
*** Exit 1
Stop.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-12 09:44 UTC] tony2001@php.net
Duplicate of bug #40335.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 28 15:00:03 2025 UTC