We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider:
#include <stdio.h>
int main() { wchar_t buf[1024];
swprintf(buf, 1024, L"hello %d\n", 42); printf("%ws\n", buf); return 0;
}
Compiled with clang-cl, the program prints garbage (debug mode) or 0 (optimized).
Note that this happens when we hit the inline definition of swprintf in VC/include/swprinf.inl, which gets included from stdio.h.
The text was updated successfully, but these errors were encountered:
I wouldn't be surprised if this was caused by _crt_va_start/_crt_va_end mapping to something crazy with clang-cl.
Sorry, something went wrong.
r219740
*** Bug #12534 has been marked as a duplicate of this bug. ***
No branches or pull requests
Extended Description
Consider:
#include <stdio.h>
int main() {
wchar_t buf[1024];
}
Compiled with clang-cl, the program prints garbage (debug mode) or 0 (optimized).
Note that this happens when we hit the inline definition of swprintf in VC/include/swprinf.inl, which gets included from stdio.h.
The text was updated successfully, but these errors were encountered: