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

Mismatch between #if/#endif and namespace scope brackets in this_thread_executers.hpp #2442

Closed
brandon-kohn opened this issue Jan 4, 2017 · 7 comments
Milestone

Comments

@brandon-kohn
Copy link
Contributor

https://github.com/STEllAR-GROUP/hpx/blob/master/hpx/runtime/threads/executors/this_thread_executors.hpp

Note that the namespaces are declared inside a #if/#endif construct but the closing brackets are outside any such preprocessor scope.

@hkaiser
Copy link
Member

hkaiser commented Jan 4, 2017

Thanks! Would you mind preparing a patch for this?

@hkaiser hkaiser added this to the 1.0.0 milestone Jan 4, 2017
@brandon-kohn
Copy link
Contributor Author

Sure :), I'll push the namespaces into #if/#endif scope.

@brandon-kohn
Copy link
Contributor Author

brandon-kohn commented Jan 4, 2017

Here's a (hastily put together and untested) patch.
issue_2442.zip

Thanks!

@hkaiser
Copy link
Member

hkaiser commented Jan 4, 2017

@brandon-kohn Thanks for this. Could you turn that into a 'real' pull request here on github, please? Also, I think it would be sufficient to move the #endif here to the end of the file.

@brandon-kohn
Copy link
Contributor Author

Done and done, hopefully I got the pull request correct. This is my first time collaborating through github in this way; so please bear with me.

@hkaiser
Copy link
Member

hkaiser commented Jan 4, 2017

Yes, all is well. For the requested changes, just keep pushing commits to the same branch it will show up on the pull request. Thanks!

@hkaiser
Copy link
Member

hkaiser commented Jan 5, 2017

This has been fixed by merging #2443

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

No branches or pull requests

2 participants