Menu

Inline cppcheck-suppress for C89

tbeu
2024-02-25
2024-03-04
  • tbeu

    tbeu - 2024-02-25

    I kow I can suppress diagnostic messages with

    // cppcheck-suppress uninitvar
    

    But how can I do it for C89 block comments? I did not get

    /* // cppcheck-suppress uninitvar */
    

    working.

     

    Last edit: tbeu 2024-02-25
  • Daniel Marjamäki

    this should work:

    /* cppcheck-suppress uninitvar */
    
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.