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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Not all headers that use min and max include 
arrow/util/windows_compatibility.h . This requires a user of arrow to disable 
these macros on Windows. As an example, line 748 of arrow/type.h uses 
std::numeric_limits<int32_t>::max(). This can also be fixed by disabling macro 
expansion (for example, (std::numeric_limits<int32_t>::max)() ) or the Windows 
macros can be disabled by defining NOMINMAX, which is done in 
windows_compatibility.h.
   
   ### 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-unsubscr...@arrow.apache.org.apache.org

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

Reply via email to