[PATCH 0/1] MR172: dlls/win32u: fix gcc12's warnings (UB)

Rémi Bernon (@rbernon) wine at gitlab.winehq.org
Thu Jun 2 05:13:59 CDT 2022


I don't understand why we want to avoid overallocation? The union is ~600B and there's like a hundred of them declared statically, that's not really a concern.

This could be imho be better fixed by correctly using the union everywhere. I have https://gitlab.winehq.org/rbernon/wine/-/commit/91cbddf4801de376f9dbc6e6c945a36a4866be22 locally, am I missing something?

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/172#note_1507



More information about the wine-devel mailing list