Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-252

Python libraries unable to build with MSVC on Windows

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Python - Library
    • Labels:
      None
    • Environment:

      Windows XP or Vista, Visual C++ 2008 (and likely others)

    • Patch Info:
      Patch Available

      Description

      This patch adds support for Visual C++ on Windows to the Python libraries. stdbool and stdint are not available on MSVC, so alternates were defined. netinet is replaced with winsock2.

      Additionally, setup.py is updated to support this platform and with the latest project information.

        Attachments

        1. thrift-252-python-msvc-1.diff
          3 kB
          Michael Greene
        2. thrift-python-msvc.diff
          3 kB
          Andrew Perella
        3. thrift-python-msvc-2.diff
          3 kB
          Andrew Perella
        4. thrift-python-msvc-memset.diff
          3 kB
          Alexander Shigin

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                euphoria Michael Greene
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: