kou opened a new pull request, #34317:
URL: https://github.com/apache/arrow/pull/34317

   ### Rationale for this change
   
   Error log:
   
       FAILED: 
src/arrow/CMakeFiles/arrow-array-test.dir/array/array_run_end_test.cc.o
       g++ ... -std=c++17 -c /arrow/cpp/src/arrow/array/array_run_end_test.cc
       /arrow/cpp/src/arrow/array/array_run_end_test.cc: In member
       function 'virtual void
       arrow::{anonymous}::TestRunEndEncodedArray_Printing_Test::TestBody()':
       /arrow/cpp/src/arrow/array/array_run_end_test.cc:580:9: error:
       converting to 'std::__cxx11::basic_stringstream<char>' from
       initializer list would use explicit constructor
       'std::__cxx11::basic_stringstream<
          _CharT,
          _Traits,
          _Alloc
        >::basic_stringstream(std::ios_base::openmode)
        [with _CharT = char;
              _Traits = std::char_traits<char>;
              _Alloc = std::allocator<char>;
               std::ios_base::openmode = std::_Ios_Openmode]' [-Werror]
          ss = {};
                ^
       ...
       cc1plus: all warnings being treated as errors
   
   ### What changes are included in this PR?
   
   This pull request uses `str("")` instead of `= {}` like other tests.
   
   ### Are these changes tested?
   
   Yes.
   
   ### Are there any user-facing changes?
   
   No.


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