You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/06/03 02:10:10 UTC

[GitHub] [arrow] kou commented on pull request #13293: ARROW-16725: [C++] Fix compilation warnings in release mode

kou commented on PR #13293:
URL: https://github.com/apache/arrow/pull/13293#issuecomment-1145518011

   It seems there are more warnings. e.g.:
   
   https://github.com/apache/arrow/runs/6707180740?check_suite_focus=true#step:7:1074
   
   ```text
   In file included from D:/a/arrow/arrow/build/cpp/src/arrow/compute/kernels/CMakeFiles/arrow-compute-scalar-test.dir/Unity/unity_0_cxx.cxx:3:
   D:/a/arrow/arrow/cpp/src/arrow/compute/kernels/scalar_arithmetic_test.cc: In instantiation of 'void arrow::compute::TestUnaryArithmeticFloating_Sqrt_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = arrow::DoubleType]':
   D:/a/arrow/arrow/cpp/src/arrow/compute/kernels/scalar_arithmetic_test.cc:3338:1:   required from here
   D:/a/arrow/arrow/cpp/src/arrow/compute/kernels/scalar_arithmetic_test.cc:3342:8: warning: unused variable 'max_val' [-Wunused-variable]
    3342 |   auto max_val = std::numeric_limits<CType>::max();
         |        ^~~~~~~
   ```
   
   Do you want to suppress them in this pull request?


-- 
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