28 Aug
2019
28 Aug
'19
4:47 a.m.
On 8/27/19 8:54 PM, Dmitry Timoshkov wrote:
Zebediah Figura <z.figura12(a)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?