[PATCH 0/1] MR6901: winhlp32: Drop unused member of struct lexret
As a side effect (and trigger) this gets rid of a variable named bool which is a reserved identifier in C23 and would break with GCC 15 moving to -std=gnu23 (which is based on C23). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6901
From: Gerald Pfeifer <gerald(a)pfeifer.com> As a side effect (and trigger) this gets rid of a variable named bool which is a reserved identifier in C23 and would break with GCC 15 moving to -std=gnu23 (which is based on C23). --- programs/winhlp32/macro.h | 1 - 1 file changed, 1 deletion(-) diff --git a/programs/winhlp32/macro.h b/programs/winhlp32/macro.h index 910782db60c..a009a7d68c2 100644 --- a/programs/winhlp32/macro.h +++ b/programs/winhlp32/macro.h @@ -26,7 +26,6 @@ struct lexret { LPCSTR proto; - BOOL bool; LONG integer; LPCSTR string; FARPROC function; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6901
Note: this looks like the second-to-last (or so) change required to cater to C23 and GCC 15, so we're nearly done. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6901#note_88873
participants (2)
-
Gerald Pfeifer -
Gerald Pfeifer (@gerald)