git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mod_proxy_uwsgi build errors


Who is using C99??

On Dec 13, 2017, at 2:07 PM, William A Rowe Jr <wrowe@xxxxxxxxxxxxx> wrote:

C99 is promiscuous.

I thought we were holding to C89 on the 2.4 branch?

On Dec 13, 2017 09:23, "Jim Jagielski" <jim@xxxxxxxxxxx> wrote:
We use uint8_t numerous places elsewhere.

> On Dec 13, 2017, at 9:44 AM, Steffen <info@xxxxxxxxxxxxxxxx> wrote:
>
>
> @jim
>
> You adjusted uint16_t
>
> Still errors:
>
>
> mod_proxy_uwsgi.c(186): warning C4267: '=': conversion from 'size_t' to 'apr_uint16_t', possible loss of data
> mod_proxy_uwsgi.c(187): error C2065: 'uint8_t': undeclared identifier
> mod_proxy_uwsgi.c(187): error C2064: term does not evaluate to a function taking 337 arguments
> mod_proxy_uwsgi.c(188): error C2065: 'uint8_t': undeclared identifier
> mod_proxy_uwsgi.c(188): error C2064: term does not evaluate to a function taking 337 arguments
> mod_proxy_uwsgi.c(192): warning C4267: '=': conversion from 'size_t' to 'apr_uint16_t', possible loss of data
> mod_proxy_uwsgi.c(193): error C2065: 'uint8_t': undeclared identifier
> mod_proxy_uwsgi.c(193): error C2064: term does not evaluate to a function taking 337 arguments
> mod_proxy_uwsgi.c(194): error C2065: 'uint8_t': undeclared identifier
> mod_proxy_uwsgi.c(194): error C2064: term does not evaluate to a function taking 337 arguments
> mod_proxy_uwsgi.c(199): warning C4267: '=': conversion from 'size_t' to 'apr_uint16_t', possible loss of data
> mod_proxy_uwsgi.c(202): error C2065: 'uint8_t': undeclared identifier
> mod_proxy_uwsgi.c(202): error C2064: term does not evaluate to a function taking 337 arguments
> mod_proxy_uwsgi.c(203): error C2065: 'uint8_t': undeclared identifier
> mod_proxy_uwsgi.c(203): error C2064: term does not evaluate to a function taking 337 arguments
> Done building project "mod_proxy_uwsgi.vcxproj" -- FAILED.
>
>
>
> On Wednesday 13/12/2017 at 14:17, Steffen  wrote:
>>
>> Trying to build on Win mod_proxy_uwsgi from trunk.
>>
>> Get the follwoing:
>>
>>
>> mod_proxy_uwsgi.c(139): error C2065: 'uint16_t': undeclared identifier
>> mod_proxy_uwsgi.c(139): error C2146: syntax error: missing ';' before identifier 'pktsize'
>> mod_proxy_uwsgi.c(139): error C2065: 'pktsize': undeclared identifier
>> mod_proxy_uwsgi.c(139): error C2065: 'keylen': undeclared identifier
>> mod_proxy_uwsgi.c(139): error C2065: 'vallen': undeclared identifier
>> mod_proxy_uwsgi.c(186): error C2065: 'keylen': undeclared identifier
>> mod_proxy_uwsgi.c(187): error C2065: 'uint8_t': undeclared identifier
>> mod_proxy_uwsgi.c(187): error C2064: term does not evaluate to a function taking 337 arguments
>> mod_proxy_uwsgi.c(187): error C2065: 'keylen': undeclared identifier
>> mod_proxy_uwsgi.c(188): error C2065: 'uint8_t': undeclared identifier
>> mod_proxy_uwsgi.c(188): error C2064: term does not evaluate to a function taking 337 arguments
>> mod_proxy_uwsgi.c(188): error C2065: 'keylen': undeclared identifier
>> mod_proxy_uwsgi.c(189): error C2065: 'keylen': undeclared identifier
>> mod_proxy_uwsgi.c(190): error C2065: 'keylen': undeclared identifier
>> mod_proxy_uwsgi.c(192): error C2065: 'vallen': undeclared identifier
>> mod_proxy_uwsgi.c(193): error C2065: 'uint8_t': undeclared identifier
>> mod_proxy_uwsgi.c(193): error C2064: term does not evaluate to a function taking 337 arguments
>> mod_proxy_uwsgi.c(193): error C2065: 'vallen': undeclared identifier
>> mod_proxy_uwsgi.c(194): error C2065: 'uint8_t': undeclared identifier
>> mod_proxy_uwsgi.c(194): error C2064: term does not evaluate to a function taking 337 arguments
>> mod_proxy_uwsgi.c(194): error C2065: 'vallen': undeclared identifier
>> mod_proxy_uwsgi.c(195): error C2065: 'vallen': undeclared identifier
>> mod_proxy_uwsgi.c(196): error C2065: 'vallen': undeclared identifier
>> mod_proxy_uwsgi.c(199): error C2065: 'pktsize': undeclared identifier
>> mod_proxy_uwsgi.c(202): error C2065: 'uint8_t': undeclared identifier
>> mod_proxy_uwsgi.c(202): error C2064: term does not evaluate to a function taking 337 arguments
>> mod_proxy_uwsgi.c(202): error C2065: 'pktsize': undeclared identifier
>> mod_proxy_uwsgi.c(203): error C2065: 'uint8_t': undeclared identifier
>> mod_proxy_uwsgi.c(203): error C2064: term does not evaluate to a function taking 337 arguments
>> mod_proxy_uwsgi.c(203): error C2065: 'pktsize': undeclared identifier
>>
>>
>
>
>




( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache2-developers/msg03981.html on line 143
Call Stack
#TimeMemoryFunctionLocation
10.0009358376{main}( ).../msg03981.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache2-developers/msg03981.html on line 143
Call Stack
#TimeMemoryFunctionLocation
10.0009358376{main}( ).../msg03981.html:0