Skip to content

Conversation

@ahoppen
Copy link
Member

@ahoppen ahoppen commented Aug 1, 2024

Fix build warnings both when building with Swift 6.0 and with Swift from main on Linux and macOS.

ahoppen added 5 commits July 31, 2024 17:25
rdar://132378792 is fixed
Returning `false` indicates that file creation failed, which we should note instead of ignoring it.

This fixes a warning on Linux that the result of `createFile` was ignored.
…rom a file

This fixes a deprecation warning on Linux about `String(contentsOf:)` being deprecated.
@ahoppen
Copy link
Member Author

ahoppen commented Aug 1, 2024

@swift-ci Please test

@ahoppen ahoppen merged commit 77e66bd into swiftlang:main Aug 1, 2024
@ahoppen ahoppen deleted the fix-warnings branch August 4, 2025 10:48
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