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

BSON_HAVE_RAND_R is not defined for Autotools

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.9.0
    • Component/s: libbson
    • Labels:
      None

      When mongodb/libbson#208 defined a new BSON_HAVE_RAND_R constant for CDRIVER-2407, it only added the necessary check to define this constant in CMake. The check is never performed for Autotools.

      I didn't catch this on Linux builds, as the compiler seems to allow @BSON_HAVE_RAND_R@, but Windows raised an error when compiling with VC11.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: