-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI][C++] Failed to build array_run_end_test.cc on Debian 10 #34308
Comments
kou
added a commit
to kou/arrow
that referenced
this issue
Feb 23, 2023
…old g++ 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
kou
added a commit
that referenced
this issue
Feb 24, 2023
#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. * Closes: #34308 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
fatemehp
pushed a commit
to fatemehp/arrow
that referenced
this issue
Feb 24, 2023
…old g++ (apache#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. * Closes: apache#34308 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug, including details regarding any error messages, version, and platform.
https://github.com/ursacomputing/crossbow/actions/runs/4248256583/jobs/7387221716#step:5:1617
The following patch will fix this:
Component(s)
C++, Continuous Integration
The text was updated successfully, but these errors were encountered: