Menu

Cppcheck 2.13.0: failing test under i686

2023-12-23
2023-12-23
  • Wolfgang Stöggl

    Hi,
    one of the tests is failing under i686. The other archs are OK.

    Tests failed: 1
    /builddir/build/BUILD/cppcheck-2.13.0/test/testother.cpp:2193(TestOther::passedByValue): Assertion failed.
    Expected:
    Actual:
    [test.cpp:15]: (performance) Function parameter 's' should be passed by const reference.\n

    Tested under Fedora Rawhide
    https://koji.fedoraproject.org/koji/taskinfo?taskID=110728688

    Regards
    Wolfgang

     
  • CHR

    CHR - 2023-12-23

    Thanks for reporting, fixed by https://github.com/danmar/cppcheck/pull/5803

     
  • Wolfgang Stöggl

    Thanks for the quick fix.
    Works nicely.

     

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.