Skip to content
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

Windows: Inform compiler (GCC/MinGW) that format strings to use are GNU/c99 style #339

Merged
merged 2 commits into from
Oct 22, 2021

Conversation

bradh352
Copy link
Contributor

Check uses a private snprintf implementation that does not support the Windows format strings of %I64u or similar and instead support the C99 and GNU format format strings like %llu and %zu. Let the compiler know this otherwise we'll get warnings every time %llu, %lld, %zu are used.

@brarcher brarcher merged commit 455005d into libcheck:master Oct 22, 2021
@brarcher
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants