Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ErikHogenbirk/d7163c4bf2a23406d6e5ad873e5b2352 to your computer and use it in GitHub Desktop.
Save ErikHogenbirk/d7163c4bf2a23406d6e5ad873e5b2352 to your computer and use it in GitHub Desktop.
DAQRecorder.cc: In member function ‘int DAQRecorder_mongodb::InsertThreaded(std::vector<mongo::BSONObj>*, int)’:
DAQRecorder.cc:276:6: error: ‘WriteResult’ is not a member of ‘mongo’
mongo::WriteResult RES;
^
DAQRecorder.cc:276:25: error: expected ‘;’ before ‘RES’
mongo::WriteResult RES;
^
DAQRecorder.cc:280:13: error: ‘unacknowledged’ is not a member of ‘mongo::WriteConcern’
WC = mongo::WriteConcern::unacknowledged;
^
DAQRecorder.cc:282:13: error: ‘acknowledged’ is not a member of ‘mongo::WriteConcern’
WC = mongo::WriteConcern::acknowledged;
^
DAQRecorder.cc:286:8: error: ‘BulkOperationBuilder’ is not a member of ‘mongo’
mongo:: BulkOperationBuilder bulky =
^
DAQRecorder.cc:286:37: error: expected ‘;’ before ‘bulky’
mongo:: BulkOperationBuilder bulky =
^
DAQRecorder.cc:289:3: error: ‘bulky’ was not declared in this scope
bulky.insert((*insvec)[i]);
^
DAQRecorder.cc:290:8: error: ‘bulky’ was not declared in this scope
bulky.execute(&WC, &RES);
^
DAQRecorder.cc:290:28: error: ‘RES’ was not declared in this scope
bulky.execute(&WC, &RES);
^
make[1]: *** [koSlave-DAQRecorder.o] Error 1
make[1]: Leaving directory `/home/xams/kodiaq/src/slave'
make: *** [all-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment