Menu

7 false/positives with cppcheck 2.17.0

Lugnier
2025-04-25
2025-04-25
  • Lugnier

    Lugnier - 2025-04-25

    Hi,

    I made a sample to reproduce those false/positives (see attached) main.cpp file.

    Cédric

     
  • CHR

    CHR - 2025-04-25

    Thanks for reporting.
    Three constPointer FPs are tracked here: https://trac.cppcheck.net/ticket/13801
    The containerOutOfBounds FP should be fixed already.

     

    Last edit: CHR 2025-04-25

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.