-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Misc compile include/warn fixes #2448
Conversation
No system headers included if SEASTAR_MODULES was undefined, fix it to the usual pattern.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks. just two nits.
for posterity, we pass -UNDEBUG
when building seastar, so cannot use assert()
on the critical pathes.
Yes, thanks for the note. I don't think any of the changes here involve a location that would be a performance concern for |
Fix a few unused result warnings that have popped up in gcc. In some cases this involves actually checking the return type, mostly for write(event_fd,...) and in this case it seems that we never expect any type of failure here (non-zero return code would only be on eventfd wrap if fd is in blocking mode, invalid arguments).
745d361
to
188baf1
Compare
ahh, thought that the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@scylladb/seastar-maint hello maintainers, could you help review/merge this change? |
1 similar comment
@scylladb/seastar-maint hello maintainers, could you help review/merge this change? |
Fix wrong includes related to SEASTAR_MODULE
Fix "unused result" warnings in gcc
Tests all pass, see changes for details.