17 Jan
2026
17 Jan
'26
12:45 a.m.
On Sat Jan 17 00:45:41 2026 +0000, Brendan Shanks wrote:
Marking this as a draft for now. Older glibc versions require `_GNU_SOURCE` to be defined to expose `vasprintf()`. Wine's `config.h` does define that, but the `flex`-generated files include `stdio.h` before we can include `config.h`. Not sure there's a way to fix that other than through compiler flags, and that's not worth the trouble for this. I'll revisit this once the build environment is on a newer glibc. glibc didn't fix this until 2.38 (July 2023), I think there will be warnings with any glibc older than that. I think we need to wait a few more years on this.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4976#note_127257