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'

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.2.17
    • Component/s: None
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: