[PATCH vkd3d] Makefile: Explicitly avoid ANSI stdio modifiers when cross compiling.
Giovanni Mascellani
gmascellani at codeweavers.com
Wed Jan 26 01:59:03 CST 2022
Hi,
Il 25/01/22 18:32, Zebediah Figura (she/her) ha scritto:
> MinGW handles CRT linking implicitly. If using ANSI stdio, it will link
> against its own CRT library (libmingwex) which provides ANSI-compatible
> versions of printf functions, and then link against msvcrt to resolve
> everything else.
>
> You can see this in practice if you disassemble our crosstests—before
> this change, they don't link against "printf" from msvcrt, after this
> change they do.
Ooof, every time I think I understand something about compilers, some
new magic sprinkles out. Well, it seems to me that the current situation
is correct and doesn't emit warnings, so I think I am fine with it. But
if you want to revert that and fix the warnings in some other way,
that's great too.
Thanks, Giovanni.
More information about the wine-devel
mailing list