Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1097

bson_oid_to_string does not use fast-path code with Visual Studio

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.4.0
    • 1.3.2
    • libbson
    • None
    • Visual Studio 12 2013 Win64
    • Fully Compatible

    Description

      Commit (8d7a2b7cdd429d6d5a7853848a804b29ab619b1a) added a #define guard for the fast-path code for bson_oid_to_string that ensured it was only enabled on x86 platforms.

      When I build on Windows, this fast-path code is not enabled (see the first line of bson_oid_to_string):

      #if !defined(__i386__) && !defined(__x86_64__)

      Neither of these macros is defined by Visual Studio.

      Attachments

        Activity

          People

            bjori Hannes Magnusson
            mavc Maverick Chan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: