dmlc / dmlc/parameter_server

Error while compiling "third_party" in Mavericks 10.9

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
649
Forks
233
PR merge metrics
No merged PRs in 30d

Description

My gcc version is
`Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn) Target: x86_64-apple-darwin13.4.0 Thread model: posix`

g++ version is
`Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn) Target: x86_64-apple-darwin13.4.0 Thread model: posix`

The error occurs while compiling `sparsehash`

``` c++
In file included from src/hashtable_test.cc:60:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:502:5: error: implicit instantiation of undefined template
'__static_assert_test'
static_assert((is_same::value),
^
...
src/hashtable_test.cc:614:8: error: no viable conversion from 'google::BaseHashtableInterface::Hasher, ::Hasher,
::Alloc > >::iterator' to 'const google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::const_iterator'
ci = this->ht_.begin();
^~~~~~~~~~~~~~~~~
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.