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 some other warnings and errors detected by clang 5.0 #2769

Merged
merged 2 commits into from Jul 20, 2017

Conversation

atrantan
Copy link

This patch tries to remove some other warnings and errors detected by clang 5.0 (Cuda Clang being enabled)

@@ -129,8 +129,10 @@ namespace hpx { namespace parallel { inline namespace v1
operator()(Iter part_begin, std::size_t part_size,
std::size_t /*part_index*/)
{
#if !defined(__NVCC__) && !defined(__CUDACC__)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this might cause problems in other places of the code, wouldn't it be better to provide an empty implementation of annotate_function for this configuration?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 0420d00

Copy link
Member

@hkaiser hkaiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@hkaiser hkaiser merged commit 776c713 into STEllAR-GROUP:master Jul 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants