You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2021/02/16 21:46:00 UTC

[jira] [Resolved] (ARROW-11642) [C++] Incorrect preprocessor directive for Windows in JVM detection

     [ https://issues.apache.org/jira/browse/ARROW-11642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kouhei Sutou resolved ARROW-11642.
----------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 9505
[https://github.com/apache/arrow/pull/9505]

> [C++] Incorrect preprocessor directive for Windows in JVM detection
> -------------------------------------------------------------------
>
>                 Key: ARROW-11642
>                 URL: https://issues.apache.org/jira/browse/ARROW-11642
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 3.0.0
>            Reporter: Markus Silberstein Hont
>            Assignee: Markus Silberstein Hont
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)