Skip to content

Misc warnings fixes #1380

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

Merged
merged 1 commit into from
Dec 26, 2017
Merged

Conversation

spevans
Copy link
Contributor

@spevans spevans commented Dec 24, 2017

  • Fixes for the following warnings:

    'BidirectionalSlice' is deprecated: renamed to 'Slice'
    'DefaultRandomAccessIndices' is deprecated: renamed to 'DefaultIndices'
    'index(_:offsetBy:)' is deprecated: all index distances are now of type Int
    initializer for struct 'CFRange' must use "self.init(...)" or "self = ..." because the struct was imported from C
    deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
    'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead

- Fixes for the following warnings:

  'BidirectionalSlice' is deprecated: renamed to 'Slice'
  'DefaultRandomAccessIndices' is deprecated: renamed to 'DefaultIndices'
  'index(_:offsetBy:)' is deprecated: all index distances are now of type Int
  initializer for struct 'CFRange' must use "self.init(...)" or "self = ..." because the struct was imported from C
  deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
  'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
@spevans
Copy link
Contributor Author

spevans commented Dec 24, 2017

@swift-ci please test

@pushkarnk
Copy link
Member

@swift-ci please test and merge

@swift-ci swift-ci merged commit 9cb8ca1 into swiftlang:master Dec 26, 2017
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.

3 participants