-
-
Notifications
You must be signed in to change notification settings - Fork 39.6k
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
[Core] Update mpaland/printf to eyalroz/printf fork #16163
Conversation
6a3ae4a
to
262f19c
Compare
Thank you for your contribution! |
Merge conflicts. |
Deferred to Q3 -- still marked as Draft, has conflicts. |
262f19c
to
647539e
Compare
b98aba8
to
158c31e
Compare
mpaland printf implementation was abandoned in ~2019 and the fork by eyalroz is now regarded to be the goto replacement of it. So this commit incoporates the changes needed to use this fork in QMK. Note that pointer ptrdiff_t is always supported since commit 51c90f93a97fdaef895783ecbe24569be0db7cb8
158c31e
to
2ae8344
Compare
mpaland printf implementation was abandoned in ~2019 and the fork by eyalroz is now regarded to be the goto replacement of it. So this commit incoporates the changes needed to use this fork in QMK. Note that pointer ptrdiff_t is always supported since commit 51c90f93a97fdaef895783ecbe24569be0db7cb8
Description
The currently used printf implementation by mpaland was abandoned in ~2019 and the fork by eyalroz is now regarded to be the goto replacement of it incorporating bug fixes and improvements (although I don't know if QMK is affected by these in any way) . So this commit incorporates the changes needed to use this fork in QMK.
As the
printf
functions now have proper format checking a workaround is needed for theb
binary format specifier, which wont be included until C2X in the official C standard - therefore will always throw a warning.Note that pointer
%t ptrdiff_t
is always supported since eyalroz/printf@51c90f9Output
Types of Changes
Issues Fixed or Closed by This PR
Checklist