You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jensen Richardson (Jira)" <ji...@apache.org> on 2020/11/05 16:41:00 UTC

[jira] [Created] (ARROW-10503) Uriparser will not compile using Intel compiler

Jensen Richardson created ARROW-10503:
-----------------------------------------

             Summary: Uriparser will not compile using Intel compiler
                 Key: ARROW-10503
                 URL: https://issues.apache.org/jira/browse/ARROW-10503
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
    Affects Versions: 2.0.0
         Environment: SUSE Linux Enterprise Server 12 SP3 with Intel Compiler Stack
            Reporter: Jensen Richardson


Fix for the Uriparser header file. The macro "URI_INLINE" was defined to "__force_inline", however the intel compiler keyword is now "__forceinline". Because of this change, the Intel compiler was no longer recognizing the keyword, which caused the whole build to fail. The patch is just changing this one line in the UriDefsConfig.h file from
{code:cpp}
# define URI_INLINE __force_inline
{code}
to
{code:cpp}
# define URI_INLINE __forceinline
{code}
The source for the new key word can be found [here|https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compiler-reference/compiler-options/compiler-option-details/inlining-options/inline-forceinline-qinline-forceinline.html].
I have a fork ready to make a pull request.



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