xumingming opened a new issue, #5832:
URL: https://github.com/apache/incubator-gluten/issues/5832

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   ```
   In file included from gluten/cpp/core/memory/AllocationListener.cc:18:
   gluten/cpp/core/memory/AllocationListener.h:63:27: error: no member named 
'max' in namespace 'std'; did you mean 'fmax'?
           peakBytes_ = std::max(peakBytes_, reservationBytes_);
                        ~~~~~^~~
                             fmax
   
/Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/cmath:434:9:
 note: 'fmax' declared here
   using ::fmax _LIBCPP_USING_IF_EXISTS;
           ^
   1 error generated.
   make[2]: *** [core/CMakeFiles/gluten.dir/memory/AllocationListener.cc.o] 
Error 1
   make[2]: *** Waiting for unfinished jobs....
   [ 51%] Building CXX object core/CMakeFiles/gluten.dir/jni/JniError.cc.o
   In file included from gluten/cpp/core/memory/MemoryAllocator.cc:18:
   In file included from gluten/cpp/core/memory/MemoryAllocator.h:26:
   gluten/cpp/core/memory/AllocationListener.h:63:27: error: no member named 
'max' in namespace 'std'; did you mean 'fmax'?
           peakBytes_ = std::max(peakBytes_, reservationBytes_);
                        ~~~~~^~~
                             fmax
   
/Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/cmath:434:9:
 note: 'fmax' declared here
   using ::fmax _LIBCPP_USING_IF_EXISTS;
           ^
   1 error generated.
   make[2]: *** [core/CMakeFiles/gluten.dir/memory/MemoryAllocator.cc.o] Error 1
   make[1]: *** [core/CMakeFiles/gluten.dir/all] Error 2
   make: *** [all] Error 2
   ```
   
   ### Spark version
   
   None
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   _No response_
   
   ### Relevant logs
   
   _No response_


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to