-
Type: Bug
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: legacy-0.9.0
-
Component/s: Implementation
When building with optimization the command_writer.cpp file fails to build due to a warning being escalated to an error:
src/mongo/client/command_writer.cpp: In member function 'virtual void mongo::CommandWriter::write(const mongo::StringData&, const std::vector<mongo::WriteOperation*>&, bool, const mongo::WriteConcern*, std::vector<mongo::BSONObj>*)': src/mongo/client/command_writer.cpp:55:57: error: 'requestType' may be used uninitialized in this function [-Werror=maybe-uninitialized] if (requestType == (*iter)->operationType() && ^ cc1plus: all warnings being treated as errors scons: *** [build/cached/mongo/client/command_writer.o] Error 1
- is depended on by
-
CXX-241 Add optimized travis builds
- Closed