Menu

Problem with CCpchecker! It does not work and does not display errors.

Volodymyr
2025-10-08
2026-02-25
  • Volodymyr

    Volodymyr - 2025-10-08

    [image: изображение.png]
    The problem is that it doesn't display errors. And this message repeats
    itself. I thought it was a problem with the code, but no, it's the same
    with another one (I have the latest version and I'm doing it through
    code::block). I also tried through the console, but it's the same for me.

    <results version="2">
    <cppcheck version="2.18.0">
    <errors>
    <error id="user-content-checkersReport" severity="information" msg="Active checkers: 169/966 (use --checkers-report=&lt;filename&gt; to see details)" verbose="Active checkers: 169/966 (use --checkers-report=&lt;filename&gt; to see details)">
    </error></errors>
    </cppcheck></results>
    Active checkers: 169/966 (use --checkers-report=<filename> to see details)</filename>

    But this is already happening again.

     
  • Oliver Stöneberg

    What issue do you expect to see?

    From a quick look it seems this will produce an infinite recursion but that is nothing which was ever reported by Cppcheck.

     
  • Oliver Stöneberg

    Also note that this is detected by Clang:

    <source>:4:1: warning: all paths through this function will call itself [-Winfinite-recursion]
        4 | {
          | ^
    
     

Log in to post a comment.

MongoDB Logo MongoDB