[
https://issues.apache.org/jira/browse/ARROW-14204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eduardo Ponce updated ARROW-14204:
----------------------------------
Description: [*RegexSubstringMatcher* is available only when RE2 is enabled
as it is guarded with #ifdef
ARROW_WITH_RE2|https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/kernels/scalar_string.cc#L861-L862]
but it is [used here without the RE2
guard|https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/kernels/scalar_string.cc#L1113],
so it compilation fails. (was: [*RegexSubstringMatcher* is available only
when RE2 is enabled as it is guarded by an #ifdef
macro|https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/kernels/scalar_string.cc#L861-L862]
but it is [used here without the RE2
guard|https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/kernels/scalar_string.cc#L1113],
so it compilation fails.)
> [C++] Fails to compile Arrow without RE2 due to missing ifdef guard
> -------------------------------------------------------------------
>
> Key: ARROW-14204
> URL: https://issues.apache.org/jira/browse/ARROW-14204
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Eduardo Ponce
> Assignee: Eduardo Ponce
> Priority: Major
> Fix For: 6.0.0
>
>
> [*RegexSubstringMatcher* is available only when RE2 is enabled as it is
> guarded with #ifdef
> ARROW_WITH_RE2|https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/kernels/scalar_string.cc#L861-L862]
> but it is [used here without the RE2
> guard|https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/kernels/scalar_string.cc#L1113],
> so it compilation fails.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)