[
https://issues.apache.org/jira/browse/ARROW-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kouhei Sutou updated ARROW-1507:
--------------------------------
Description:
If arrow/compute/api.h is included but arrow/array.h isn't included, the
following error is occurred:
{code}
In file included from arrow/compute/api.h:23:0,
from arrow-glib/compute.hpp:22,
from compute.cpp:24:
arrow/compute/kernel.h:26:7: error: 'internal' has not been declared
using internal::ArrayData;
^~~~~~~~
arrow/compute/kernel.h:43:65: error: 'ArrayData' has not been declared
virtual Status Call(FunctionContext* ctx, const Array& input, ArrayData*
out) = 0;
^~~~~~~~~
{code}
Summary: [C++] arrow/compute/api.h can't be used without arrow/array.h
(was: [C++] Add a missing declaration)
> [C++] arrow/compute/api.h can't be used without arrow/array.h
> -------------------------------------------------------------
>
> Key: ARROW-1507
> URL: https://issues.apache.org/jira/browse/ARROW-1507
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Kouhei Sutou
> Assignee: Kouhei Sutou
> Priority: Minor
> Fix For: 0.7.0
>
>
> If arrow/compute/api.h is included but arrow/array.h isn't included, the
> following error is occurred:
> {code}
> In file included from arrow/compute/api.h:23:0,
> from arrow-glib/compute.hpp:22,
> from compute.cpp:24:
> arrow/compute/kernel.h:26:7: error: 'internal' has not been declared
> using internal::ArrayData;
> ^~~~~~~~
> arrow/compute/kernel.h:43:65: error: 'ArrayData' has not been declared
> virtual Status Call(FunctionContext* ctx, const Array& input, ArrayData*
> out) = 0;
> ^~~~~~~~~
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)