[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:

z:\dev\mongo> scons clientdist

Unpack the archive, which is named mongo-cxx-driver.zip.

Then, run scons inside the unpacked driver source directory:

z:\dev\mongo-cxx-driver> scons



 Comments   
Comment by Andy Schwerin [ 17/Mar/17 ]

The C++ driver is no longer built out of the server codebase.

Generated at Thu Feb 08 03:09:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.