[ https://issues.apache.org/jira/browse/PARQUET-1688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16969734#comment-16969734 ]
Kouhei Sutou edited comment on PARQUET-1688 at 11/8/19 1:56 AM: ---------------------------------------------------------------- Oh, sorry. I missed it. Which project should we use to track this? ARROW- or PARQUET-? was (Author: kou): Oh, sorry. I missed it. Should we track this in ARROW- or PARQUET-? > [C++] StreamWriter/StreamReader can't be built with g++ 4.8.5 on CentOS 7 > ------------------------------------------------------------------------- > > Key: PARQUET-1688 > URL: https://issues.apache.org/jira/browse/PARQUET-1688 > Project: Parquet > Issue Type: Improvement > Components: parquet-cpp > Reporter: Kouhei Sutou > Priority: Major > > cc [~gawain_bolton] > This is caused since PARQUET-1678 is merged. > It seems that g++ 4.8.5 on CentOS 7 doesn't have the default implementation > of {{operator=() noexcept}}: > https://dev.azure.com/ursa-labs/crossbow/_build/results?buildId=2562&view=logs&jobId=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&taskId=5b4cc83a-7bb0-5664-5bb1-588f7e4dc05b&lineStart=5469&lineEnd=5484&colStart=1&colEnd=1 > {noformat} > In file included from > /root/rpmbuild/BUILD/apache-arrow-0.15.0.dev227/cpp/src/parquet/stream_reader.h:31:0, > from > /root/rpmbuild/BUILD/apache-arrow-0.15.0.dev227/cpp/src/parquet/stream_reader.cc:18: > /root/rpmbuild/BUILD/apache-arrow-0.15.0.dev227/cpp/src/parquet/stream_writer.h:67:17: > error: function 'parquet::StreamWriter& > parquet::StreamWriter::operator=(parquet::StreamWriter&&)' defaulted on its > first declaration with an exception-specification that differs from the > implicit declaration 'parquet::StreamWriter& > parquet::StreamWriter::operator=(parquet::StreamWriter&&)' > StreamWriter& operator=(StreamWriter&&) noexcept = default; > ^ > In file included from > /root/rpmbuild/BUILD/apache-arrow-0.15.0.dev227/cpp/src/parquet/stream_reader.cc:18:0: > /root/rpmbuild/BUILD/apache-arrow-0.15.0.dev227/cpp/src/parquet/stream_reader.h:61:17: > error: function 'parquet::StreamReader& > parquet::StreamReader::operator=(parquet::StreamReader&&)' defaulted on its > first declaration with an exception-specification that differs from the > implicit declaration 'parquet::StreamReader& > parquet::StreamReader::operator=(parquet::StreamReader&&)' > StreamReader& operator=(StreamReader&&) noexcept = default; > ^ > make[2]: *** [src/parquet/CMakeFiles/parquet_objlib.dir/stream_reader.cc.o] > Error 1 > make[2]: *** Waiting for unfinished jobs.... > In file included from > /root/rpmbuild/BUILD/apache-arrow-0.15.0.dev227/cpp/src/parquet/stream_writer.cc:18:0: > /root/rpmbuild/BUILD/apache-arrow-0.15.0.dev227/cpp/src/parquet/stream_writer.h:67:17: > error: function 'parquet::StreamWriter& > parquet::StreamWriter::operator=(parquet::StreamWriter&&)' defaulted on its > first declaration with an exception-specification that differs from the > implicit declaration 'parquet::StreamWriter& > parquet::StreamWriter::operator=(parquet::StreamWriter&&)' > StreamWriter& operator=(StreamWriter&&) noexcept = default; > ^ > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)