-
Notifications
You must be signed in to change notification settings - Fork 51
Description
In file included from src/mongo/client/bulk_operation_builder.cpp:22:
src/mongo/client/dbclientinterface.h: In member function 'virtual void mongo::DBConnector::checkResponse(const char*, int, bool*, std::__cxx11::string*)':
src/mongo/client/dbclientinterface.h:598:13: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
if( retry ) *retry = false; if( targetHost ) *targetHost = "";
^~
src/mongo/client/dbclientinterface.h:598:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if( retry ) *retry = false; if( targetHost ) *targetHost = "";
^~
cc1plus: all warnings being treated as errors
scons: *** [build/linux2/ssl/mongo/client/bulk_operation_builder.o] Error 1
scons: building terminated because of errors.
make: *** [Makefile:60:dep/mongo-cxx-driver/build/install/lib/libmongoclient.a] 错误 2