-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add param count check #150
Labels
Milestone
Comments
See #157 when solvng this. |
A runtime check exists now, but a pre-compiletime check ( |
Merged with #291 |
For example this line caused a problem only at runtime: trice( iD( 1278), "diag:RTT0_bytesInBufferMax=%u, RTT0_writeSpaceMin\n", RTT0_bytesInBufferMax, RTT0_writeSpaceMin ); |
Write tests for |
parameter count check is implemented in v0.67.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When during
trice u
a trice statement ist evaluated, the format specifier count should match the param count and _n, if specified. If not, report an error and write #error in front of trice statement. This allows generally not to use _n.The text was updated successfully, but these errors were encountered: