Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 495634 Details for
Bug 626342
<dev-db/mongodb-3.4.4: src/mongo/shell/bench.cpp:677:9: error: 'string' was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.0.14
mongodb-3.0.14-fix-std-string.patch (text/plain), 2.29 KB, created by
Jenkler
on 2017-09-20 18:03:37 UTC
(
hide
)
Description:
Patch for 3.0.14
Filename:
MIME Type:
Creator:
Jenkler
Created:
2017-09-20 18:03:37 UTC
Size:
2.29 KB
patch
obsolete
>--- a/src/mongo/shell/bench.cpp 2017-09-20 19:12:20.893056990 +0200 >+++ b/src/mongo/shell/bench.cpp 2017-09-20 19:14:08.165060566 +0200 >@@ -52,6 +52,9 @@ > #include "mongo/util/time_support.h" > #include "mongo/util/version.h" > >+#include <string> >+using namespace std; >+ > // --------------------------------- > // ---- benchmarking system -------- > // --------------------------------- >--- a/src/mongo/db/dbwebserver.cpp 2017-09-20 19:24:50.042081961 +0200 >+++ b/src/mongo/db/dbwebserver.cpp 2017-09-20 19:26:20.240084968 +0200 >@@ -58,6 +58,8 @@ > #include "mongo/util/ramlog.h" > #include "mongo/util/version.h" > >+#include <string> >+using namespace std; > > namespace mongo { > >--- a/src/mongo/db/matcher/expression_leaf.cpp 2017-09-20 19:27:59.009088260 +0200 >+++ b/src/mongo/db/matcher/expression_leaf.cpp 2017-09-20 19:28:31.082089329 +0200 >@@ -39,6 +39,9 @@ > #include "mongo/db/jsobj.h" > #include "mongo/db/matcher/path.h" > >+#include <string> >+using namespace std; >+ > namespace mongo { > > Status LeafMatchExpression::initPath(const StringData& path) { >--- a/src/mongo/db/repl/master_slave.cpp 2017-09-20 19:30:04.569092445 +0200 >+++ b/src/mongo/db/repl/master_slave.cpp 2017-09-20 19:31:19.145094931 +0200 >@@ -70,6 +70,9 @@ > #include "mongo/util/exit.h" > #include "mongo/util/log.h" > >+#include <string> >+using namespace std; >+ > using boost::scoped_ptr; > using std::auto_ptr; > using std::cout; >--- a/src/mongo/util/net/miniwebserver.cpp 2017-09-20 19:32:55.368098138 +0200 >+++ b/src/mongo/util/net/miniwebserver.cpp 2017-09-20 19:33:57.128100197 +0200 >@@ -39,6 +39,9 @@ > #include "mongo/util/hex.h" > #include "mongo/util/log.h" > >+#include <string> >+using namespace std; >+ > namespace mongo { > > using boost::shared_ptr; >--- a/src/mongo/s/config.cpp 2017-09-20 19:42:45.614117812 +0200 >+++ b/src/mongo/s/config.cpp 2017-09-20 19:43:28.278119234 +0200 >@@ -60,6 +60,9 @@ > #include "mongo/util/net/message.h" > #include "mongo/util/stringutils.h" > >+#include <string> >+using namespace std; >+ > namespace mongo { > > using boost::scoped_ptr; >--- a/src/mongo/s/grid.cpp 2017-09-20 19:51:07.684134547 +0200 >+++ b/src/mongo/s/grid.cpp 2017-09-20 19:51:43.436135739 +0200 >@@ -55,6 +55,9 @@ > #include "mongo/util/startup_test.h" > #include "mongo/util/stringutils.h" > >+#include <string> >+using namespace std; >+ > namespace mongo { > > using std::endl;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 626342
:
486962
|
495632
| 495634