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

Remove throw spec from omp.h for clang #558

Merged
merged 1 commit into from
Sep 8, 2019
Merged

Remove throw spec from omp.h for clang #558

merged 1 commit into from
Sep 8, 2019

Conversation

larroy
Copy link
Contributor

@larroy larroy commented Aug 29, 2019

This fixes compilation with OMP using the Clang compiler.

@hcho3
Copy link
Contributor

hcho3 commented Sep 6, 2019

I suspect the memory error is due to race condition

@larroy
Copy link
Contributor Author

larroy commented Sep 6, 2019

@hcho3 in CI ?

@hcho3
Copy link
Contributor

hcho3 commented Sep 6, 2019

@larroy Yes, the memory error you can see in Travis CI is intermittent

@larroy
Copy link
Contributor Author

larroy commented Sep 6, 2019

#560

@larroy
Copy link
Contributor Author

larroy commented Sep 6, 2019

#559

@larroy
Copy link
Contributor Author

larroy commented Sep 8, 2019

@hcho3 can we merge this? I need it for an MXNet PR.

@hcho3
Copy link
Contributor

hcho3 commented Sep 8, 2019

Merging this for now. I'll create a new issue about failing tests for dmlc_exception and std_exception.

@larroy
Copy link
Contributor Author

larroy commented Sep 8, 2019

seems it's not failing due to double free anymore.

@leezu
Copy link
Contributor

leezu commented Dec 7, 2019

@larroy should this be #if defined(__ANDROID__) || defined (__clang__) instead of #if defined(__ANDROID__) && defined (__clang__). The second doesn't make much sense to me and in fact doesn't work with clang

@larroy
Copy link
Contributor Author

larroy commented Dec 11, 2019

I think the intention was to fix it for Android only, when using clang, hence &&, don't remember the details. But see that we are compiling with Clang in CI for a while, why did it start failing now?

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

Successfully merging this pull request may close these issues.

3 participants