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

Add unused attribute to free functions #27

Merged
merged 1 commit into from
Jul 18, 2016
Merged

Add unused attribute to free functions #27

merged 1 commit into from
Jul 18, 2016

Conversation

cheparukhin
Copy link
Collaborator

Generated free functions cause unused function warnings, which are suppressed using __attribute__((__unused__)) from now.

@aantron
Copy link
Owner

aantron commented Jul 18, 2016

LGTM. Feel free to merge.

Can you say what flag/compiler combination was emitting these warnings? We should probably add it to testing.

@cheparukhin cheparukhin merged commit 37d8f98 into aantron:master Jul 18, 2016
@cheparukhin
Copy link
Collaborator Author

@aantron clang-3.8 with -Wall, current tests don't check it

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.

2 participants