Skip to content

Fix warnings #6496

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
May 1, 2023
Merged

Fix warnings #6496

merged 1 commit into from
May 1, 2023

Conversation

neonichu
Copy link
Contributor

Remaining warnings:

  • GenerateLinuxMain, should get fixed by Commands/Utilities: remove GenerateLinuxMain #6490
  • Linker warning for swiftpm-xctest-helper since XCTest on macOS has a 13.0 deployment target. Nothing we can really do right now, but we should switch our deployment target to 13.0 as soon as we can.
  • ObservabilityScope.makeDiagnosticsHandler() which is needed for compatibility with swift-driver

@neonichu neonichu self-assigned this Apr 29, 2023
@neonichu
Copy link
Contributor Author

@swift-ci please smoke test

@neonichu
Copy link
Contributor Author

Related: I think we should do cleanups like swiftlang/swift-tools-support-core#413 in reverse order in the future. First get the known clients in the toolchain (or at a minimum any of SwiftPM's dependencies) off the API we'd like to deprecate and then deprecate it. If we do it in the normal order, we end up with tons of warnings in the meantime, e.g. right now there are a total of 188 warnings when building SwiftPM which are related to this.

@MaxDesiatov
Copy link
Contributor

right now there are a total of 188 warnings when building SwiftPM which are related to this.

These are already fixed in the main branch of SwiftPM, so maybe you're on an older commit? I agree about the order though, my bad merging that TSC PR first.

@neonichu neonichu merged commit e8d79e9 into main May 1, 2023
@neonichu neonichu deleted the fix-warnings branch May 1, 2023 05:03
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