Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-62544

Unable to build unittests: error: 'log' is not a member of 'mongo::unittest'

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 4.2.17
    • None
    • ALL

    Description

      Hello,

       

      I use to build my own packages but 4.2.17 cannot be built:

      src/mongo/client/mongo_uri_test.cpp: In member function 'virtual void mongo::{anonymous}::UnitTest_SuiteNameMongoURITestNamesrvRecordTest::_doTest()':
      src/mongo/client/mongo_uri_test.cpp:1005:19: error: 'log' is not a member of 'mongo::unittest'
       1005 |  mongo::unittest::log() << "Testing URI: " << test.uri << '\n';
            |                   ^~~

      It really looks like a bug to me.

       

      Regards, Adam.

      Attachments

        Activity

          People

            Unassigned Unassigned
            acecile@le-vert.net Adam Adam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: