https://bugs.winehq.org/show_bug.cgi?id=57102
William Horvath wine@horvath.blog changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #76995|A patch to work around the |A patch to work around the description|issue (GCC only) |issue
--- Comment #8 from William Horvath wine@horvath.blog --- Comment on attachment 76995 --> https://bugs.winehq.org/attachment.cgi?id=76995 A patch to work around the issue
--- a/dlls/win32u/window.c +++ b/dlls/win32u/window.c @@ -1842,7 +1842,7 @@ done: }
-static RECT get_visible_rect( HWND hwnd, BOOL shaped, UINT style, UINT ex_style, const struct window_rects *rects ) +static RECT __attribute__((optnone)) get_visible_rect( HWND hwnd, BOOL shaped, UINT style, UINT ex_style, const struct window_rects *rects ) { UINT dpi = get_dpi_for_window( hwnd ), style_mask, ex_style_mask; RECT visible_rect, rect = {0};