[libav-bugs] [Bug 424] [MinGW-w64] Different behavior for %zu modifier

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Sun Mar 3 00:25:47 CET 2013


--- Comment #13 from Rafael Antonio Porras Samaniego <SpOeK at DistroBit.Net> 2013-03-03 00:25:47 CET ---
(In reply to comment #10)
> We do not yet have proper detection of host vs. target libc in configure, thus
> we cannot just blindly set those host CPPFLAGS, it would do the wrong thing
> when e.g. crosscompiling for MinGW from Linux.

OK but I just want to note that crosscompiling with the MinGW-w64 toolchain
from Linux shows the same warning:
/tmp/zu$ i686-w64-mingw32-gcc -g -Wall -o zu zu.c
zu.c: In function ‘main’:
zu.c:6:5: warning: unknown conversion type character ‘z’ in format [-Wformat]
zu.c:6:5: warning: too many arguments for format [-Wformat-extra-args]

And that warning is not strictly related[1] to libc but GCC(mingw-w64):
"That warning indeed comes from gc. But it is just an educated guess
that gcc is making of what the C library supports. Occasionally gcc
might get it wrong."


Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the libav-bugs mailing list