-
Notifications
You must be signed in to change notification settings - Fork 55
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
%#b
with field width exceeds specified width
#121
Comments
First, thank you for filing the issue. Second - I'm assuming this issue manifests on regular desktop machines, since I have no idea what "segger rtt" is. Now...
So,
This is how (to be continued) |
I don't see the extra 0 you mentioned. Here are all of your testcases, with their
(the single space after the |
Thanks for your response.
end of question.
In
since |
I can now reproduce the issue. Not sure why I wasn't seeing it before. Expect a fix soon... |
…`, like for `%#x`, when a precision is field width is specified and we are matching it exactly.
@nocodo189753 : Please try the head of the develop branch and make sure the bug is resolved for you as well. |
Hi:
my test code is :
output ('_' means space):
It seems:
Is these a bug or I'm using it wrong?
My env:
keil mdk 5.36.0,with segger rtt output
#define dbg_log(...) fctprintf(putchar_custom_, (void *)0, __VA_ARGS__)
#define dbg_ext(...) fctprintf(putchar_custom_, (void *)1, __VA_ARGS__)
#define dbg dbg_log
void putchar_(char ch) { SEGGER_RTT_PutChar(0, ch); }
void putchar_custom_(char ch, void *arg) { SEGGER_RTT_PutChar((int)arg, ch); }
The text was updated successfully, but these errors were encountered: