Menu ▾ ▴

CppCheck 2.14 Analysis failed (variable without scope)

Robert
2024-04-24
2024-04-25
  • Robert

    Robert - 2024-04-24

    When running 2.14 the following line gives an Analysis failed

    ..\internalError.h:16:66: error: Analysis failed (variable without scope). If the code is valid then please report this failure. [internalError]
    TypedValue_DataObject::TypedValue_DataObject( const DataObject & value )

    With 2.13 I don;t have the error

    I run
    cppcheck.exe --project=internalError.cppcheck
    in the build folder of the attached minimal example

     
  • CHR

    CHR - 2024-04-25

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

     

Log in to post a comment.