On Tue Aug 26 12:47:49 2025 +0000, Piotr Caban wrote:
I'm not sure if this code is portable. Do you know if similar initialization is used anywhere else in Wine?
`grep -rIP '^\s*[.*='` returns a lot, for example https://gitlab.winehq.org/wine/wine/-/blob/master/tools/tools.h#L624 https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/mshtml/htmlevent.c#L3.... It's standard since C99.
(It is, however, not portable to C++, so we should avoid it in include/.)