Menu

latest cppcheck: syntaxError

Martin
2021-01-22
2021-01-22
  • Martin

    Martin - 2021-01-22

    Hi,

    for the file
    https://chromium.googlesource.com/chromium/src/third_party/+/master/protobuf/src/google/protobuf/stubs/common_unittest.cc
    the latest cppcheck (master branch) produces:

    Checking /src/google/protobuf/stubs/common_unittest.cc ...
    /src/google/protobuf/stubs/common_unittest.cc:87:1: error: syntax error [syntaxError]
    TEST(LoggingTest, DefaultLogging) {
    ^

    Could you please check?

    Best regards,
    Martin

     
  • Daniel Marjamäki

    have you tried with --library=googletest?

     

    Last edit: Daniel Marjamäki 2021-01-22
  • Martin

    Martin - 2021-01-22

    Ah, with that the error is gone. Thanks!

     

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.