Skip to content

这个怎么解决 #18

@CreditTone

Description

@CreditTone

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions