-
Notifications
You must be signed in to change notification settings - Fork 161
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
Make memset_s
consistent with Darwin.
#52
Conversation
Can one of the admins verify this patch? |
3 similar comments
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
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.
Broadly looks good, one quick note.
Resolves [issue#51](apple#51). In Swift 5.3, a warning is viewed on Linux because `memset_s` implemented in this module returns `Void`. This commit let the function return the same type with Darwin.
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, let's see what the CI thinks.
@swift-server-bot test this please |
Thanks very much! |
Resolves issue#51.
In Swift 5.3, a warning is viewed on Linux because
memset_s
implemented in this module returnsVoid
.This PR let the function return the same type with Darwin.
Checklist
Result:
No warnings are viewed while building.