[swift-dev] [Swift 2.2] Extract Version value out of optional when parsing _compiler_version

Joe Pamer jpamer at apple.com
Sat Feb 6 23:53:32 CST 2016


Thanks, Dmitri!


This change is approved. I've accepted your pull request.


- Joe


On 02/06/16 06:56 PM, Dmitri Gribenko  <gribozavr at gmail.com> wrote: 
> 
> Hi Joe,
> 
> This patch fixes the build when SWIFT_COMPILER_VERSION. That macro is
> set in all production builds of the compiler.
> 
> https://github.com/apple/swift/pull/1225
> 
> Dmitri
> 
> -- 
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160206/af626f90/attachment.html>


More information about the swift-dev mailing list