Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-11642

[C++] Incorrect preprocessor directive for Windows in JVM detection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0.0
    • 4.0.0
    • C++

    Description

      In the HDFS connector library, there are per-platform preprocessor directives to determine which libjvm and libhdfs binaries to use for file operations. This is currently (3.0.0) failing due to an incorrect preprocessor directive for Windows. The code is referring to "__WIN32" while the properly defined variable should be "_WIN32" (seeĀ https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-160)

      Attachments

        Issue Links

          Activity

            People

              markussh Markus Silberstein Hont
              markussh Markus Silberstein Hont
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m