Skip to content
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

lib: os: cbprintf: Tweak Z_CBPRINTF_PCHAR_COUNT macro for vscode #44890

Closed

Commits on Apr 15, 2022

  1. lib: os: cbprintf: Tweak Z_CBPRINTF_PCHAR_COUNT macro for vscode

    VSCode macro parser was notifying errors in logging macros. The reason
    was char pointer counting macro that VSCode seen as being called with
    no enough parameters. There was no issue in the macro so change is
    rather to cover for VSCode annoyance.
    
    Issue reported:github.com/microsoft/vscode-cpptools/issues/9187
    
    Additionally, minor change added to log as CBPRINTF_MUST_RUNTIME_PACKAGE
    is no longer accepting empty arguments.
    
    Signed-off-by: Krzysztof Chruscinski <[email protected]>
    nordic-krch committed Apr 15, 2022
    Configuration menu
    Copy the full SHA
    d9f0194 View commit details
    Browse the repository at this point in the history