[PATCH 4/4] httpapi: Implement HttpReceiveHttpRequest().

Zebediah Figura z.figura12 at gmail.com
Tue Aug 27 22:47:16 CDT 2019


On 8/27/19 8:54 PM, Dmitry Timoshkov wrote:
> Zebediah Figura <z.figura12 at gmail.com> wrote:
> 
>> +    struct http_receive_request_params params =
>> +    {
>> +        .addr = (ULONG_PTR)request,
>> +        .id = id,
>> +        .flags = flags,
>> +        .bits = sizeof(void *) * 8,
>> +    };
> 
> Please don't do this, it won't build with some compilers.
> 

Do you mean the use of designated initializers? We've had those in the 
code base for over 6 years:

https://source.winehq.org/git/wine.git/commitdiff/cf0334b6542
https://source.winehq.org/git/wine.git/commitdiff/0fa08f47937e

Do you have a concrete example of a compiler that doesn't recognize these?



More information about the wine-devel mailing list