[SERVER-5591] text.h: toNativeString() not implemented when _UNICODE not defined Created: 13/Apr/12 Updated: 17/Mar/17 Resolved: 17/Mar/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Client |
| Affects Version/s: | 2.1.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andy Schwerin | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | cxxcopy | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
The C++ driver errors out when you try to build it for Windows at text.h, while trying to compile text.cpp. It hits a #error for toNativeString() when _UNICODE is undefined, presumably because we haven't decided yet how we want to get from UTF-8 to the native code page? To repro, build the client source distribution archive:
Unpack the archive, which is named mongo-cxx-driver.zip. Then, run scons inside the unpacked driver source directory:
|
| Comments |
| Comment by Andy Schwerin [ 17/Mar/17 ] |
|
The C++ driver is no longer built out of the server codebase. |