httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guenter Knauf <fua...@apache.org>
Subject Re: httpd-2.3.9-alpha test tarballs
Date Wed, 24 Nov 2010 02:43:01 GMT
Hi,
I see very similar errors too with my OpenWatcom build ...

Am 23.11.2010 23:35, schrieb Gregg L. Smith:
> \server\mpm\winnt\service.c(861) : warning C4090: 'function' : different 'const' qualifiers
>
> \server\util_mutex.c(151) : error C2440: 'function' : cannot convert from 'apr_status_t
(__stdcall *)(void *)' to 'apr_status_t (__cdecl *)(void *)'
> \server\util_mutex.c(151) : warning C4024: 'apr_pool_cleanup_register' : different types
for formal and actual parameter 3
server\util_mutex.c(151): Error! E1071: Type of parameter 3 does not 
agree with previous definition
server\util_mutex.c(151): Note! N2003: source conversion type is 'int 
(__stdcall *)(void *__p1)'
server\util_mutex.c(151): Note! N2004: target conversion type is 'int 
(*)(void *__p1)'

> util_expr_parse.c
> util_expr_parse.c(114) : error C2059: syntax error : 'constant'
util_expr_parse.c(114): Error! E1009: Expecting '}' but found '0'
util_expr_parse.c(114): Error! E1026: Invalid declarator
util_expr_parse.c(114): Error! E1009: Expecting ';' but found '='
util_expr_parse.c(114): Error! E1061: Expecting data or function 
declaration, but found '='
util_expr_parse.c(114): Error! E1026: Invalid declarator
util_expr_parse.c(114): Error! E1009: Expecting ';' but found '260'
util_expr_parse.c(114): Error! E1061: Expecting data or function 
declaration, but found 'constant'
util_expr_parse.c(114): Error! E1026: Invalid declarator
util_expr_parse.c(115): Warning! W132: No storage class or type specified
util_expr_parse.c(146): Error! E1009: Expecting ';' but found '}'
util_expr_parse.c(146): Error! E1061: Expecting data or function 
declaration, but found '}'
util_expr_parse.c(146): Error! E1026: Invalid declarator
util_expr_parse.c(1877): Warning! W124: Comparison result always 1

> util_expr_parse.c(327) : warning C4273: 'malloc' : inconsistent dll linkage
>          C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdlib.h(601) : see
previous definition of 'malloc'
> util_expr_parse.c(334) : warning C4273: 'free' : inconsistent dll linkage
>          C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdlib.h(600) : see
previous definition of 'free'
> util_expr_scan.c
> c:\buildprep\httpd-2.3.9\server\util_expr_parse.h(44) : error C2059: syntax error : 'constant'
> util_expr_scan.l(92) : error C2065: 'T_STR_BEGIN' : undeclared identifier
> util_expr_scan.l(101) : error C2065: 'T_STR_END' : undeclared identifier
> util_expr_scan.l(109) : error C2065: 'T_STRING' : undeclared identifier
> util_expr_scan.l(153) : error C2065: 'T_STRING' : undeclared identifier
> util_expr_scan.l(157) : error C2065: 'T_REGEX_BACKREF' : undeclared identifier
> util_expr_scan.l(175) : error C2065: 'T_STRING' : undeclared identifier
> util_expr_scan.l(179) : error C2065: 'T_VAR_BEGIN' : undeclared identifier
> util_expr_scan.l(193) : error C2065: 'T_VAR_BEGIN' : undeclared identifier
> util_expr_scan.l(198) : error C2065: 'T_REGEX_BACKREF' : undeclared identifier
> util_expr_scan.l(206) : error C2065: 'T_ID' : undeclared identifier
> util_expr_scan.l(211) : error C2065: 'T_VAR_END' : undeclared identifier
> util_expr_scan.l(232) : error C2065: 'T_STRING' : undeclared identifier
> util_expr_scan.l(236) : error C2065: 'T_VAR_END' : undeclared identifier
> util_expr_scan.l(265) : error C2065: 'T_REGEX_I' : undeclared identifier
> util_expr_scan.l(271) : error C2065: 'T_REGEX' : undeclared identifier
> util_expr_scan.l(276) : error C2065: 'T_REGEX' : undeclared identifier
> util_expr_scan.l(282) : error C2065: 'T_OP_STR_EQ' : undeclared identifier
> util_expr_scan.l(283) : error C2065: 'T_OP_STR_NE' : undeclared identifier
> util_expr_scan.l(284) : error C2065: 'T_OP_STR_LT' : undeclared identifier
> util_expr_scan.l(285) : error C2065: 'T_OP_STR_LE' : undeclared identifier
> util_expr_scan.l(286) : error C2065: 'T_OP_STR_GT' : undeclared identifier
> util_expr_scan.l(287) : error C2065: 'T_OP_STR_GE' : undeclared identifier
> util_expr_scan.l(288) : error C2065: 'T_OP_REG' : undeclared identifier
> util_expr_scan.l(289) : error C2065: 'T_OP_NRE' : undeclared identifier
> util_expr_scan.l(290) : error C2065: 'T_OP_AND' : undeclared identifier
> util_expr_scan.l(291) : error C2065: 'T_OP_AND' : undeclared identifier
> util_expr_scan.l(292) : error C2065: 'T_OP_OR' : undeclared identifier
> util_expr_scan.l(293) : error C2065: 'T_OP_OR' : undeclared identifier
> util_expr_scan.l(294) : error C2065: 'T_OP_NOT' : undeclared identifier
> util_expr_scan.l(295) : error C2065: 'T_OP_NOT' : undeclared identifier
> util_expr_scan.l(296) : error C2065: 'T_OP_CONCAT' : undeclared identifier
> util_expr_scan.l(297) : error C2065: 'T_OP_IN' : undeclared identifier
> util_expr_scan.l(298) : error C2065: 'T_OP_EQ' : undeclared identifier
> util_expr_scan.l(299) : error C2065: 'T_OP_NE' : undeclared identifier
> util_expr_scan.l(300) : error C2065: 'T_OP_GE' : undeclared identifier
> util_expr_scan.l(301) : error C2065: 'T_OP_LE' : undeclared identifier
> util_expr_scan.l(302) : error C2065: 'T_OP_GT' : undeclared identifier
> util_expr_scan.l(303) : error C2065: 'T_OP_LT' : undeclared identifier
> util_expr_scan.l(306) : error C2065: 'T_OP_LT' : undeclared identifier
> util_expr_scan.l(307) : error C2065: 'T_OP_LE' : undeclared identifier
> util_expr_scan.l(308) : error C2065: 'T_OP_GT' : undeclared identifier
> util_expr_scan.l(309) : error C2065: 'T_OP_GE' : undeclared identifier
> util_expr_scan.l(310) : error C2065: 'T_OP_NE' : undeclared identifier
> util_expr_scan.l(311) : error C2065: 'T_OP_EQ' : undeclared identifier
> util_expr_scan.l(312) : error C2065: 'T_OP_IN' : undeclared identifier
> util_expr_scan.l(316) : error C2065: 'T_OP_UNARY' : undeclared identifier
> util_expr_scan.l(321) : error C2065: 'T_OP_BINARY' : undeclared identifier
> util_expr_scan.l(335) : error C2065: 'T_DIGIT' : undeclared identifier
> util_expr_scan.l(343) : error C2065: 'T_ID' : undeclared identifier
> util_expr_scan.c(1718) : warning C4018: '<' : signed/unsigned mismatch
> util_expr_eval.c
Compiling server\util_expr_scan.c
server\util_expr_parse.h(44): Error! E1009: Expecting '}' but found '0'
server\util_expr_parse.h(44): Error! E1026: Invalid declarator
server\util_expr_parse.h(44): Error! E1009: Expecting ';' but found '='
server\util_expr_parse.h(44): Error! E1061: Expecting data or function 
declaration, but found '='
server\util_expr_parse.h(44): Error! E1026: Invalid declarator
server\util_expr_parse.h(44): Error! E1009: Expecting ';' but found '260'
server\util_expr_parse.h(44): Error! E1061: Expecting data or function 
declaration, but found 'constant'
server\util_expr_parse.h(44): Error! E1026: Invalid declarator
server\util_expr_parse.h(45): Warning! W132: No storage class or type 
specified
server\util_expr_parse.h(76): Error! E1009: Expecting ';' but found '}'
server\util_expr_parse.h(76): Error! E1061: Expecting data or function 
declaration, but found '}'
server\util_expr_parse.h(76): Error! E1026: Invalid declarator

> \server\util_expr_eval.c(43) : warning C4180: qualifier applied to function type has
no meaning; ignored
> \server\util_expr_eval.c(96) : warning C4180: qualifier applied to function type has
no meaning; ignored
> \server\util_expr_eval.c(109) : warning C4018: '<' : signed/unsigned mismatch
> \server\util_expr_eval.c(350) : error C2440: ':' : cannot convert from 'int (__stdcall
*)(ap_expr_lookup_parms *)' to 'ap_expr_lookup_fn (__cdecl *)'
> \server\util_expr_eval.c(350) : error C2440: '=' : cannot convert from 'ap_expr_lookup_fn
(__stdcall *)' to 'ap_expr_lookup_fn (__cdecl *)'
> \server\util_expr_eval.c(661) : warning C4180: qualifier applied to function type has
no meaning; ignored
> \server\util_expr_eval.c(661) : warning C4090: 'initializing' : different 'const' qualifiers
> \server\util_expr_eval.c(673) : warning C4180: qualifier applied to function type has
no meaning; ignored
> \server\util_expr_eval.c(673) : warning C4090: 'initializing' : different 'const' qualifiers
> \server\util_expr_eval.c(1276) : error C2440: 'function' : cannot convert from 'apr_status_t
(__stdcall *)(void *)' to 'apr_status_t (__cdecl *)(void *)'
> \server\util_expr_eval.c(1276) : warning C4024: 'apr_pool_cleanup_register' : different
types for formal and actual parameter 3
server\util_expr_eval.c(350): Error! E1010: Type mismatch
server\util_expr_eval.c(1276): Error! E1071: Type of parameter 3 does 
not agree with previous definition
server\util_expr_eval.c(1276): Note! N2003: source conversion type is 
'int (__stdcall *)(void *__p1)'
server\util_expr_eval.c(1276): Note! N2004: target conversion type is 
'int (*)(void *__p1)'

> log.c
> \server\log.c(452) : error C2440: 'function' : cannot convert from 'apr_status_t (__stdcall
*)(void *)' to 'apr_status_t (__cdecl *)(void *)'
> \server\log.c(452) : warning C4024: 'apr_pool_cleanup_register' : different types for
formal and actual parameter 3
> \server\log.c(1020) : warning C4018: '>' : signed/unsigned mismatch
server\log.c(452): Error! E1071: Type of parameter 3 does not agree with 
previous definition
server\log.c(452): Note! N2003: source conversion type is 'int 
(__stdcall *)(void *__p1)'
server\log.c(452): Note! N2004: target conversion type is 'int (*)(void 
*__p1)'

> config.c
> \server\config.c(480) : error C2440: 'function' : cannot convert from 'apr_status_t (__stdcall
*)(void *)' to 'apr_status_t (__cdecl *)(void *)'
> \server\config.c(480) : warning C4024: 'apr_pool_cleanup_register' : different types
for formal and actual parameter 3
server\config.c(480): Error! E1071: Type of parameter 3 does not agree 
with previous definition
server\config.c(480): Note! N2003: source conversion type is 'int 
(__stdcall *)(void *__p1)'
server\config.c(480): Note! N2004: target conversion type is 'int 
(*)(void *__p1)'

all these errors are a result of recent changes; about 3 months ago I 
was able to build with OpenWatcom ...

Gün.



Mime
View raw message