-
Notifications
You must be signed in to change notification settings - Fork 130
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
Remove indirection when calling dbuf_printf #830
Conversation
The reason for this indirection is to prevent compiler warnings about the format string not being a string constant. |
What compiler version triggers it? I haven't seen them in the CI run! |
This comment was marked as outdated.
This comment was marked as outdated.
How is that board meeting going? 😅 |
That was a rocky one... It is very surprising to me that you were able to remove the indirection: it means the compiler(s) do not emit a warning for code that invokes |
I guess you mean Now, if I set that, even without this PR:
So it looks like we are alrady in that territory. |
Hello, maybe some comment around the indirection could be useful such as: Best regards |
This PR makes that error surface, yes:
My point is that we are not compiling with those flags anyway, and we already have the problem in other palces so we are not going to turn that flag on. |
Closing in favor of #857 |
No description provided.