Re: [swift-dev] [Pitch] Remove "Default will never be executed" Warning?

2016-11-28 Thread Zhao Xin via swift-dev
​It will be better to use `fatalError()` in `default` part that you think never be needed.​ default: fatalError("This should never happen!") Zhaoxin On Tue, Nov 29, 2016 at 11:25 AM, Dave Abrahams via swift-dev < swift-dev@swift.org> wrote: > > on Sun Nov 27 2016, Slava Pestov wrote: > > >> On

Re: [swift-dev] [Pitch] Remove "Default will never be executed" Warning?

2016-11-28 Thread Dave Abrahams via swift-dev
on Sun Nov 27 2016, Slava Pestov wrote: >> On Nov 27, 2016, at 4:32 PM, David Sweeris via swift-dev >> wrote: >> >>> >>> On Nov 26, 2016, at 5:25 PM, Robert Widmann via swift-dev >>> > wrote: >>> > >>> Hello all, >>> >>> I’ve seen and been a part of a number o

Re: [swift-dev] [RFC] Modify the build system to enable/disable ObjC interop for any platform

2016-11-28 Thread John McCall via swift-dev
> On Nov 28, 2016, at 1:33 PM, Joe Groff via swift-dev > wrote: >> On Nov 28, 2016, at 7:26 AM, Brian Gesiak via swift-dev >> wrote: >> >> Hello all! >> >> While reviewing https://github.com/apple/swift/pull/5904, I had a crazy >> thought, and I'd like to get some feedback on it. >> >> Here

Re: [swift-dev] [RFC] Modify the build system to enable/disable ObjC interop for any platform

2016-11-28 Thread Joe Groff via swift-dev
> On Nov 28, 2016, at 7:26 AM, Brian Gesiak via swift-dev > wrote: > > Hello all! > > While reviewing https://github.com/apple/swift/pull/5904, I had a crazy > thought, and I'd like to get some feedback on it. > > Here's my original comment >

Re: [swift-dev] TWISt-shout Newsletter 2016-11-28

2016-11-28 Thread Kenny Leung via swift-dev
Here is your TWISt-shout Newsletter for the week of 2016-11-21 to 2016-11-27 https://github.com/pepperdog/TWISt-shout/blob/master/2016/TWISt-shout-2016-11-28.md Enjoy! -Kenny ___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mail

Re: [swift-dev] [RFC] Modify the build system to enable/disable ObjC interop for any platform

2016-11-28 Thread Douglas Gregor via swift-dev
> On Nov 28, 2016, at 7:26 AM, Brian Gesiak via swift-dev > wrote: > > Hello all! > > While reviewing https://github.com/apple/swift/pull/5904 > , I had a crazy thought, and I'd > like to get some feedback on it. > > Here's my original comment >

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - OS X (master) #7279

2016-11-28 Thread Kuba Mracek via swift-dev
Sorry, Jordan :( I don't think the "-mthread-model core2" error is caused by me. Also, it seems that Swift is building compiler-rt in a different way than it's usually used in LLVM/Clang, which is why such errors are only triggered in Swift in not in the Clang buildbots. Do you know why is th

[swift-dev] [RFC] Modify the build system to enable/disable ObjC interop for any platform

2016-11-28 Thread Brian Gesiak via swift-dev
Hello all! While reviewing https://github.com/apple/swift/pull/5904, I had a crazy thought, and I'd like to get some feedback on it. Here's my original comment < https://github.com/apple/swift/pull/5904#discussion_r89797900>. Basically, I notice that we have two sets of targets we compile the Sw