Eric Pouech eric.pouech@orange.fr writes:
Le 12/10/2021 à 18:17, Alexandre Julliard a écrit :
Eric Pouech eric.pouech@orange.fr writes:
i'm currently fixing a couple of bugs introduced when linking winedbg with msvcrt (cough cough)
a couple of items strike me (for cross compiling only):
- why is cross compilation done with -Wno-format flag? what's the rationale behind it (it hides a couple of errors ;-)
It's disabled on 64-bit because most places are still using the Unix formats. This will have to be fixed eventually, and -Wno-format will then be applied to non-Mingw builds instead.
you mean replacing all the the %l[udx] (lower case l) by %I[udx] (upper case i) ?
Yes, but there are other issues, like the fact that we use long instead of int on 32-bit. It will take some thought to find a way to do the transition without having to fix a million warnings at once.