Menu

AST broken erro

Robert
2022-09-29
2022-09-29
  • Robert

    Robert - 2022-09-29

    With 2.9 I get the following error
    ASTError.cpp:5:1: error: Syntax Error: AST broken, '->' doesn't have two operands. [internalAstError]
    target->~T_StateAdminPtr();

    On this code

    typedef D_StateAdmin * T_StateAdminPtr;
    
    static void destroy( T_StateAdminPtr * target )
    {
    target->~T_StateAdminPtr();
    }
    
     
  • CHR

    CHR - 2022-09-29

    Thanks for reporting, ticket is here: https://trac.cppcheck.net/ticket/11337

     

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.