You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Philipp Moritz (JIRA)" <ji...@apache.org> on 2017/05/05 20:38:04 UTC

[jira] [Created] (ARROW-952) Compilation error with clang-802.0.42

Philipp Moritz created ARROW-952:
------------------------------------

             Summary: Compilation error with clang-802.0.42
                 Key: ARROW-952
                 URL: https://issues.apache.org/jira/browse/ARROW-952
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
         Environment: g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/c++/4.2.1
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

uname -a
Darwin XXX.berkeley.edu 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64
            Reporter: Philipp Moritz


Compiling commit 2c3e111d45c056d429cef312533c9f3f96b08ae8 of arrow with Apple LLVM version 8.1.0 gives the following error:

```
In file included from /Users/istoica/src/ray/minicamp-may5-17/ray-1/src/numbuf/thirdparty/arrow/cpp/src/arrow/python/helpers.cc:20:
In file included from /Users/istoica/src/ray/minicamp-may5-17/ray-1/src/numbuf/thirdparty/arrow/cpp/src/arrow/util/decimal.h:24:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/regex:1216:29: error: 
      too many arguments provided to function-like macro invocation
    __ct_->tolower(&__s[0], &__s[0] + __s.size());
                            ^
/Users/istoica/anaconda/include/python2.7/pyport.h:729:9: note: macro 'tolower'
      defined here
#define tolower(c) towlower(btowc(c))
        ^
In file included from /Users/istoica/src/ray/minicamp-may5-17/ray-1/src/numbuf/thirdparty/arrow/cpp/src/arrow/python/helpers.cc:20:
In file included from /Users/istoica/src/ray/minicamp-may5-17/ray-1/src/numbuf/thirdparty/arrow/cpp/src/arrow/util/decimal.h:24:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/regex:1228:29: error: 
      too many arguments provided to function-like macro invocation
    __ct_->tolower(&__s[0], &__s[0] + __s.size());
                            ^
/Users/istoica/anaconda/include/python2.7/pyport.h:729:9: note: macro 'tolower'
      defined here
#define tolower(c) towlower(btowc(c))
        ^
In file included from /Users/istoica/src/ray/minicamp-may5-17/ray-1/src/numbuf/thirdparty/arrow/cpp/src/arrow/python/builtin_convert.cc:30:
```

It is a similar problem to
https://github.com/apache/arrow/commit/4d2ac871c9126ba431ebb193ea19bd5eb7ef8ab3



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)