Skip to content

unique Output::Type when directive is used in macro parameter #673

Closed

Description

@danmar

currently cppcheck reports syntaxError when directives are used in macro parameters.

it would clarify the output if a unique error id is used

Activity

  1. danmar commented on Jul 9, 2026

    @danmar
    CollaboratorAuthor

    Some people are questioning these warnings thinking it's a Cppcheck bug, I want to add documentation for this specific warning.

    I also want to be able to map these warnings to specific misra/cert rules in Cppcheck Premium.

  2. firewave commented on Jul 9, 2026

    @firewave
    Collaborator

    Yes, all syntaxError need to be reviewed as they might be misnomers. But I think I took care of most of them already.

  3. added a commit that references this issue on Jul 10, 2026
    c44d686
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions