Menu

Cppcheck 2.3, AST broken, ternary operator missing operand(s) [internalAstError]

Mads Brix
2020-12-11
2020-12-11
  • Mads Brix

    Mads Brix - 2020-12-11

    When I run cppcheck 2.3 on the attached code I get
    Checking TernaryAstError2.cc ...
    TernaryAstError2.cc:20:28: error: AST broken, ternary operator missing operand(s) [internalAstError]

     
  • Daniel Marjamäki

    Thanks! I have created ticket https://trac.cppcheck.net/ticket/10034

     

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.