You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Menno (Jira)" <ji...@apache.org> on 2021/05/31 09:35:00 UTC
[jira] [Comment Edited] (ARROW-12885) [C++] Error: template with C
linkage template
[ https://issues.apache.org/jira/browse/ARROW-12885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17354339#comment-17354339 ]
Menno edited comment on ARROW-12885 at 5/31/21, 9:34 AM:
---------------------------------------------------------
The only thing I can find when I search online is that when compiler system headers are included many errors occure regarding the template with C linkage.
There is a possible problem with option -isystem on AIX.
In their case it was fixed avoiding the -isystem option by doing something like this:
{code:java}
if ((CMAKE_SYSTEM_NAME STREQUAL "AIX" OR CMAKE_SYSTEM_NAME STREQUAL "OS400") AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
include_directories("${CMake_SOURCE_DIR}/includefile")
else()
include_directories(SYSTEM "${CMake_SOURCE_DIR}/includefile")
endif()
{code}
Is there any location in arrow's source code where this might apply?
{{}}
was (Author: siekerman):
The only thing I can find when I search online is that when compiler system headers are included many errors occure regarding the template with C linkage.
There is a possible problem with option -isystem on AIX.
In their case it was fixed avoiding the -system option by doing something like this:
{code:java}
if ((CMAKE_SYSTEM_NAME STREQUAL "AIX" OR CMAKE_SYSTEM_NAME STREQUAL "OS400") AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
include_directories("${CMake_SOURCE_DIR}/includefile")
else()
include_directories(SYSTEM "${CMake_SOURCE_DIR}/includefile")
endif()
{code}
Is there any location in arrow's source code where this might apply?
{{}}
> [C++] Error: template with C linkage template <class T>
> -------------------------------------------------------
>
> Key: ARROW-12885
> URL: https://issues.apache.org/jira/browse/ARROW-12885
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Environment: IBM i | AS400 | power
> Reporter: Menno
> Priority: Major
> Attachments: 2021-05-26 16_31_09-Window.png, thrift_ep-build-err.log
>
>
> When installing arrow on IBM i it fails the install at the thrift dependency install with the following output:
> !2021-05-26 16_31_09-Window.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)