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

   @save-buffer @westonpace It seems that this broke 
`test-ubuntu-20.04-cpp-20`. Could you confirm this?
   
   
https://github.com/ursacomputing/crossbow/actions/runs/3785729320/jobs/6436002570#step:5:2976
   
   ```text
   FAILED: src/arrow/CMakeFiles/arrow_objlib.dir/compute/exec/source_node.cc.o 
   /usr/local/bin/sccache /usr/bin/c++  -DARROW_EXPORTING 
-DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2 
-DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_HDFS -DARROW_MIMALLOC 
-DARROW_NO_DEPRECATED_API -DARROW_WITH_BACKTRACE -DARROW_WITH_BROTLI 
-DARROW_WITH_BZ2 -DARROW_WITH_LZ4 -DARROW_WITH_RE2 -DARROW_WITH_SNAPPY 
-DARROW_WITH_TIMING_TESTS -DARROW_WITH_UTF8PROC -DARROW_WITH_ZLIB 
-DARROW_WITH_ZSTD -DBOOST_ALL_NO_LIB -DURI_STATIC_BUILD -Isrc -I/arrow/cpp/src 
-I/arrow/cpp/src/generated -isystem /arrow/cpp/thirdparty/flatbuffers/include 
-isystem /arrow/cpp/thirdparty/hadoop/include -isystem orc_ep-install/include 
-isystem protobuf_ep-install/include -isystem 
google_cloud_cpp_ep-install/include -isystem absl_ep-install/include -isystem 
crc32c_ep-install/include -isystem awssdk_ep-install/include -isystem 
opentelemetry_ep-install/include -isystem xsimd_ep/src/xsimd_ep-install/include 
-isystem jemalloc_ep-prefix/src -isystem mimalloc_ep/src/mimalloc_e
 p/include/mimalloc-2.0 -Wno-noexcept-type  -fdiagnostics-color=always -ggdb 
-O0  -Wall -Wno-conversion -Wno-sign-conversion -Wunused-result -Werror 
-fno-semantic-interposition -msse4.2  -g -fPIC   -pthread -std=c++2a -MD -MT 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/exec/source_node.cc.o -MF 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/exec/source_node.cc.o.d -o 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/exec/source_node.cc.o -c 
/arrow/cpp/src/arrow/compute/exec/source_node.cc
   In file included from /arrow/cpp/src/arrow/buffer.h:29,
                    from /arrow/cpp/src/arrow/array/data.h:26,
                    from /arrow/cpp/src/arrow/compute/exec.h:31,
                    from /arrow/cpp/src/arrow/compute/exec/source_node.cc:22:
   /arrow/cpp/src/arrow/compute/exec/source_node.cc: In lambda function:
   /arrow/cpp/src/arrow/compute/exec/source_node.cc:139:75: error: implicit 
capture of 'this' via '[=]' is deprecated in C++20 [-Werror=deprecated]
     139 |                        
RETURN_NOT_OK(plan_->query_context()->ScheduleTask([=]() {
         |                                                                      
     ^
   /arrow/cpp/src/arrow/status.h:57:62: note: in definition of macro 
'ARROW_RETURN_NOT_OK'
      57 |     ::arrow::Status __s = 
::arrow::internal::GenericToStatus(status); \
         |                                                              ^~~~~~
   /arrow/cpp/src/arrow/compute/exec/source_node.cc:139:24: note: in expansion 
of macro 'RETURN_NOT_OK'
     139 |                        
RETURN_NOT_OK(plan_->query_context()->ScheduleTask([=]() {
         |                        ^~~~~~~~~~~~~
   /arrow/cpp/src/arrow/compute/exec/source_node.cc:139:75: note: add explicit 
'this' or '*this' capture
     139 |                        
RETURN_NOT_OK(plan_->query_context()->ScheduleTask([=]() {
         |                                                                      
     ^
   /arrow/cpp/src/arrow/status.h:57:62: note: in definition of macro 
'ARROW_RETURN_NOT_OK'
      57 |     ::arrow::Status __s = 
::arrow::internal::GenericToStatus(status); \
         |                                                              ^~~~~~
   /arrow/cpp/src/arrow/compute/exec/source_node.cc:139:24: note: in expansion 
of macro 'RETURN_NOT_OK'
     139 |                        
RETURN_NOT_OK(plan_->query_context()->ScheduleTask([=]() {
         |                        ^~~~~~~~~~~~~
   cc1plus: all warnings being treated as errors
   ```


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

Reply via email to