I was building wine with tests using clang-11 and discovered following errors: wine-iviv/dlls/winmm/tests/wave.c:2453:22: error: initializer element is not a compile-time constant .SubFormat = KSDATAFORMAT_SUBTYPE_PCM, wine-iviv/dlls/dmsynth/tests/dmsynth.c:1788:9: error: initializer element is not a compile-time constant default_note_on, wine-iviv/dlls/vccorlib140/tests/vccorlib.c:707:38: error: initializer element is not a compile-time constant static const GUID guids_src\[\] = {IID_IUnknown, IID_IInspectable, IID_IAgileObject, IID_IMarshal, guid_null}; wine-iviv/dlls/vccorlib140/tests/vccorlib.c:1378:34: error: initializer element is not a compile-time constant {TYPECODE_GUID, {.guid = IID_IInspectable}, PropertyType_Guid, sizeof(GUID), L"{af86e2e0-b12d-4c6a-9c5a-d7aa65101e90}"}, wine-iviv/dlls/vccorlib140/tests/vccorlib.c:2193:30: error: initializer element is not a compile-time constant static const GUID guid = IID_IInspectable; For newer clang versions (tested for clang-19) there is no problem, but older clang-11 does not recognize these objects as compile-time constants. So i removed "static" where needed, making it automatic/runtime initializations. These changes do not change tests behavior at all, tested for both 64-bit and 32-bit versions. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10884