Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nullptr issue in Mac Apple Clang #50

Closed
AbdealiLoKo opened this issue Nov 1, 2017 · 1 comment
Closed

nullptr issue in Mac Apple Clang #50

AbdealiLoKo opened this issue Nov 1, 2017 · 1 comment

Comments

@AbdealiLoKo
Copy link
Contributor

AbdealiLoKo commented Nov 1, 2017

When compiling rabit in Apple's Clang compiler I seem to be getting this error:

In file included from rabit/src/engine.cc:17:
rabit/src/./thread_local.h:43:36: error: initializer for thread-local variable must be a constant
      expression
    static MX_TREAD_LOCAL T* ptr = nullptr;
                                   ^~~~~~~
/Library/Developer/CommandLineTools/usr/include/c++/v1/__nullptr:49:17: note: expanded from macro 'nullptr'
#define nullptr _VSTD::__get_nullptr_t()
                ^~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/usr/include/c++/v1/__config:392:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
              ^

This is occurring with latest master branch

@hcho3
Copy link
Contributor

hcho3 commented Nov 5, 2020

Closing, as Rabit have been moved into dmlc/xgboost. See discussion in dmlc/xgboost#5995.

@hcho3 hcho3 closed this as completed Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants