Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5591

text.h: toNativeString() not implemented when _UNICODE not defined

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: 2.1.1
    • Fix Version/s: None
    • Component/s: Internal Client
    • Labels:
    • Operating System:
      ALL

      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

        Attachments

          Activity

            People

            Assignee:
            schwerin Andy Schwerin
            Reporter:
            schwerin Andy Schwerin
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: