April 13, 2026
11:24 a.m.
On Mon Apr 13 11:11:33 2026 +0000, Alfred Agrell wrote:
If \__has_builtin isn't defined, then #if \__has_builtin(__cpuidex) is equivalent to #if 0(0) which is a syntax error. https://godbolt.org/z/3333Y7bb3 I'd vote close, but it's not my call. Well it was the other way around with the || possibly short circuiting the rest, but I see, and it indeed fails to parse if the token isn't defined.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10644#note_135955