[PATCH 0/1] MR6979: webservices: Rename a struct member from bool to boolean
bool is a reserved identifier in C23 so we would break with GCC 15 moving to -std=gnu23 (which is based on C23). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6979
From: Gerald Pfeifer <gerald(a)pfeifer.com> bool is a reserved identifier in C23 so we would break with GCC 15 moving to -std=gnu23 (which is based on C23). --- dlls/webservices/tests/reader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/webservices/tests/reader.c b/dlls/webservices/tests/reader.c index 7f42d0488e3..89fe6be1c0b 100644 --- a/dlls/webservices/tests/reader.c +++ b/dlls/webservices/tests/reader.c @@ -6845,7 +6845,7 @@ static void test_empty_text_field(void) } *test2; struct test3 { - BOOL bool; + BOOL boolean; } *test3; struct test4 { @@ -6911,7 +6911,7 @@ static void test_empty_text_field(void) memset( &f, 0, sizeof(f) ); f.mapping = WS_TEXT_FIELD_MAPPING; f.type = WS_BOOL_TYPE; - f.offset = FIELD_OFFSET(struct test3, bool); + f.offset = FIELD_OFFSET(struct test3, boolean); fields[0] = &f; memset( &s, 0, sizeof(s) ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6979
Note: This should be the second to last change to enable C23 and default GCC 15, the last one in imported libs/capstone. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6979#note_90096
This merge request was approved by Hans Leidekker. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6979
participants (3)
-
Gerald Pfeifer -
Gerald Pfeifer (@gerald) -
Hans Leidekker (@hans)