Skip to content

gcc pedantically complains about that comma... :) #6

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

Closed
biller23 opened this issue Jan 27, 2015 · 2 comments
Closed

gcc pedantically complains about that comma... :) #6

biller23 opened this issue Jan 27, 2015 · 2 comments

Comments

@biller23
Copy link

zstd_static.h:74:38: warning: comma at end of enumerator list [-Wpedantic]

@Cyan4973
Copy link
Contributor

Thanks for notification.
Unfortunately, this warning is a bit difficult to fix, since it would require to change the macro generating enums.

Probably adding a useless element at the end of the list would work. But I don't think it's cleaner than the trailing comma.

@biller23
Copy link
Author

Got it. Thanks anyway. I will close this little issue.

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

No branches or pull requests

2 participants