[CXX-836] Missing #include <string> in mongo-cxx-driver Created: 02/Feb/16 Updated: 30/Mar/16 Resolved: 19/Feb/16 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Implementation |
| Affects Version/s: | 3.0.0 |
| Fix Version/s: | 3.0.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Petr Messner | Assignee: | Mira Carey |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Description |
|
I'm trying to compile mongo-cxx-driver on OS X (AppleClang). I've got errors like this: error: implicit instantiation of undefined template 'std::__1::basic_string<char, Full output is here: https://gist.github.com/messa/00892e97f0a22b99f2a2 I've fixed it by adding #include <string> to a few files, see here: https://github.com/messa/mongo-cxx-driver/commit/9d526e76952415e0b8936513b1cc8c2a326348c9 Now it compiles successfully. Please consider to add these #includes to upstream |
| Comments |
| Comment by Githook User [ 19/Feb/16 ] |
|
Author: {u'username': u'yongjincho', u'name': u'Yongjin Cho', u'email': u'yongjin.cho@gmail.com'}Message: |
| Comment by Andrew Morrow (Inactive) [ 18/Feb/16 ] |
| Comment by Mira Carey [ 02/Feb/16 ] |
|
Petr, Thanks for trying out the C++11 driver, and sorry for that bug. We'll make sure to get that in for our next bugfix release. Would you mind opening a pull request on github and signing our Contributor Agreement? That's our usual workflow for receiving contributions. Thanks, |