core icon indicating copy to clipboard operation
core copied to clipboard

2 Warnings during linux build with 5.0.x swift

Open dougreid72 opened this issue 7 years ago • 4 comments

I am not sure if this is a linux, swift, or core issue.

Core/Process+Execute.swift:163:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'

Core/Process+Execute.swift:167:17: warning: 'launch()' is deprecated: renamed to 'run'

Do not get these warnings in Xcode.

Version 3.9.0 of Core

dougreid72 avatar Apr 24 '19 12:04 dougreid72

Hmm....maybe due to 5.0 having a better compatibility layer with Swift 4.1 mode on macOS? We should be able to silence the warnings with a combination of #if os and #if compiler, but this seems like it should be fixed in Swift / core libs foundation itself.

tanner0101 avatar Apr 25 '19 15:04 tanner0101

Should I put in a ticket with swift?

dougreid72 avatar Apr 25 '19 15:04 dougreid72

Yeah that would be great. :)

tanner0101 avatar Apr 25 '19 20:04 tanner0101

I created an issue at bugs.swift.org.

dougreid72 avatar May 01 '19 13:05 dougreid72