Skip to content

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

Merged
brarcher merged 2 commits intolibcheck:masterfrom
bradh352:master
Oct 22, 2021
Merged

Windows: Inform compiler (GCC/MinGW) that format strings to use are GNU/c99 style#339
brarcher merged 2 commits intolibcheck:masterfrom
bradh352:master

Conversation

@bradh352
Copy link
Copy Markdown
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
Copy Markdown
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