-
-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSYS2 MinGW compilation warning #525
Comments
Looks like Microsoft's C library does support |
From one of the comments on Stack Overflow: "MinGW uses microsoft's c library msvcrt-- this library only conforms to c89 and doesn't understand z". Another says "You can instead link MinGW-provided alternative stdio functions that support C11 with #define __USE_MINGW_ANSI_STDIO 1. I prefer not to link extra code if I can get around the peculiarities of msvcrt, but that's of course a matter of taste." I've had a look at the Makefile but am out of my depth! |
Perhaps it's a difference between the original msvcrt and the new UCRT, and GCC hasn't been updated for UCRT. |
The warning is also present for UCRT version of MINGW. Here's a full build log
|
When compiling with gcc on MSYS2, the following warning appears:
../src/rt/rtkern.c:2241:13: warning: unknown conversion type character 'z' in format
This Stack Overflow post may be helpful.
The text was updated successfully, but these errors were encountered: