https://bugs.winehq.org/show_bug.cgi?id=51051
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- What version of gcc is this?
It looks like it's choking on the declaration of e.g. cptable950; we declare it as "extern union cptable" and define it as "const struct dbcs_table". I don't know whether that's valid C.
I also have no idea why this would only fail for wine-staging, there shouldn't be any code affecting that.