You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2017/05/31 11:20:04 UTC
[jira] [Resolved] (IMPALA-5391) Cannot compile UDFs with older GCC
versions
[ https://issues.apache.org/jira/browse/IMPALA-5391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Armstrong resolved IMPALA-5391.
-----------------------------------
Resolution: Fixed
Fix Version/s: Impala 2.9.0
IMPALA-5391: remove C++11 from UDF header
This replaces the C++11 idiom with equivalent C++98 code. The code was
added to address a clang-tidy warning about missing virtual
destructors, which the new code should also address.
Change-Id: Ic10906027e3644e4d42ad20fcd6abda1c24fefa6
Reviewed-on: http://gerrit.cloudera.org:8080/7024
Reviewed-by: Henry Robinson <he...@cloudera.com>
Tested-by: Impala Public Jenkins
> Cannot compile UDFs with older GCC versions
> -------------------------------------------
>
> Key: IMPALA-5391
> URL: https://issues.apache.org/jira/browse/IMPALA-5391
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Affects Versions: Impala 2.9.0
> Reporter: Tim Armstrong
> Assignee: Tim Armstrong
> Fix For: Impala 2.9.0
>
>
> uda-test-harness.h doesn't compile with older versions of GCC. This is unhelpful when trying to build Impala UDFs using the native compilers on older OS versions.
> {code}
> In file included from /var/lib/jenkins/workspace/impala-udf-dev-xplatform/label/systest-slave/impala-udf-samples/uda-sample-test.cc:18:0:
> /usr/include/impala_udf/uda-test-harness.h:47:35: error: ‘virtual impala_udf::UdaTestHarnessBase<RESULT, INTERMEDIATE>::~UdaTestHarnessBase()’ declared virtual cannot be defaulted in the class body
> /usr/include/impala_udf/uda-test-harness.h:150:31: error: ‘virtual impala_udf::UdaTestHarness<RESULT, INTERMEDIATE, INPUT>::~UdaTestHarness()’ declared virtual cannot be defaulted in the class body
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)