You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "evetion (via GitHub)" <gi...@apache.org> on 2024/11/17 16:09:00 UTC

[I] Windows.h Capitalization breaks cross-platform build [arrow]

evetion opened a new issue, #44754:
URL: https://github.com/apache/arrow/issues/44754

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   Over at https://github.com/JuliaPackaging/Yggdrasil/pull/9801, we build Arrow cross-platforms for use in the Julia language.
   
   The capitalization of Windows.h in https://github.com/apache/arrow/blob/main/cpp/src/arrow/util/io_util.cc#L121 breaks the mingw compilation for Windows platforms, as the host platform is case-sensitive, and mingw only provides the lowercased variant:
   
   ```
   [15:22:30] /workspace/srcdir/arrow/cpp/src/arrow/util/io_util.cc:121:12: fatal error: Windows.h: No such file or directory
   [15:22:30]  #  include <Windows.h>
   [15:22:30]             ^~~~~~~~~~~
   [15:22:30] compilation terminated.
   ```
   
   ### Component(s)
   
   C++


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [C++] Windows.h Capitalization breaks cross-platform build [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #44754:
URL: https://github.com/apache/arrow/issues/44754#issuecomment-2481666421

   Issue resolved by pull request 44755
   https://github.com/apache/arrow/pull/44755


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [C++] Windows.h Capitalization breaks cross-platform build [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou closed issue #44754: [C++] Windows.h Capitalization breaks cross-platform build
URL: https://github.com/apache/arrow/issues/44754


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org