Menu

constVariablePointer false positive with append, insert, etc

2024-07-12
2024-07-12
  • amany balawna

    amany balawna - 2024-07-12

    i have the same issue here :
    https://sourceforge.net/p/cppcheck/discussion/development/thread/081b993002/#2d13

    i saw that a ticket was opened and resolved.
    i use version 2.14.1,but still cppcheck flags these cases.
    i ran :

    cppcheck--enable=all --library=qt myProject

    how can i work with the new updates?

     
  • CHR

    CHR - 2024-07-12

    Have you looked at the linked ticket? It was fixed in the 2.15 branch, which isn't released yet. You could always compile from source though.

     

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.