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

HPX_UNUSED macro #861

Closed
VeXocide opened this issue Sep 19, 2013 · 0 comments
Closed

HPX_UNUSED macro #861

VeXocide opened this issue Sep 19, 2013 · 0 comments
Assignees
Labels
category: core difficulty: easy Good issues for starting out with HPX development type: enhancement
Milestone

Comments

@VeXocide
Copy link
Contributor

Add an HPX_UNUSED macro to mark variables as unused, which can be used to silence warnings instead of having to cast them to void. Both clang and gcc should support __attribute__((unused)), with other potentially interesting attributes being deprecated, and builtins such as __builtin_unreachable.

@ghost ghost assigned K-ballo and hkaiser Sep 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: core difficulty: easy Good issues for starting out with HPX development type: enhancement
Projects
None yet
Development

No branches or pull requests

3 participants