You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/11/08 08:09:00 UTC

[jira] [Updated] (PARQUET-1688) [C++] StreamWriter/StreamReader can't be built with g++ 4.8.5 on CentOS 7

     [ https://issues.apache.org/jira/browse/PARQUET-1688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated PARQUET-1688:
------------------------------------
    Labels: pull-request-available  (was: )

> [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
>              Labels: pull-request-available
>
> 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)