You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/06/08 13:03:00 UTC

[jira] [Updated] (ARROW-13008) [C++] Deprecation warning when compiling minimal example

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

Antoine Pitrou updated ARROW-13008:
-----------------------------------
    Description: 
{code}
/io/example.cc: In function 'arrow::Status {anonymous}::RunMain(int, char**)':
/io/example.cc:46:75: warning: 'static arrow::Result<std::shared_ptr<arrow::csv::TableReader> > arrow::csv::TableReader::Make(arrow::MemoryPool*, arrow::io::IOContext, std::shared_ptr<arrow::io::InputStream>, const arrow::csv::ReadOptions&, const arrow::csv::ParseOptions&, const arrow::csv::ConvertOptions&)' is deprecated: Use MemoryPool-less variant (the IOContext holds a pool already) [-Wdeprecated-declarations]
   46 |                                     arrow::csv::ConvertOptions::Defaults()));
      |                                                                           ^
{code}

> [C++] Deprecation warning when compiling minimal example
> --------------------------------------------------------
>
>                 Key: ARROW-13008
>                 URL: https://issues.apache.org/jira/browse/ARROW-13008
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Developer Tools
>            Reporter: Antoine Pitrou
>            Assignee: Antoine Pitrou
>            Priority: Trivial
>
> {code}
> /io/example.cc: In function 'arrow::Status {anonymous}::RunMain(int, char**)':
> /io/example.cc:46:75: warning: 'static arrow::Result<std::shared_ptr<arrow::csv::TableReader> > arrow::csv::TableReader::Make(arrow::MemoryPool*, arrow::io::IOContext, std::shared_ptr<arrow::io::InputStream>, const arrow::csv::ReadOptions&, const arrow::csv::ParseOptions&, const arrow::csv::ConvertOptions&)' is deprecated: Use MemoryPool-less variant (the IOContext holds a pool already) [-Wdeprecated-declarations]
>    46 |                                     arrow::csv::ConvertOptions::Defaults()));
>       |                                                                           ^
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)