Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2178

Native client fails compilation on Windows.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 3.5.1, 3.6.0
    • c client
    • None
    • Windows

    Description

      Due to several recent changes, the native client fails to compile on Windows:

      1. ZOOKEEPER-827 (read-only mode) mismatched a function return type between the declaration and definition.
      2. ZOOKEEPER-1626 (monotonic clock for tolerance to time adjustments) added an include of unistd.h, which does not exist on Windows.
      3. Additionally, ZOOKEEPER-1626 did not implement a code path for accessing the Windows monotonic clock.

      Attachments

        1. ZOOKEEPER-2178.001.patch
          2 kB
          Chris Nauroth

        Issue Links

          Activity

            People

              cnauroth Chris Nauroth
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: