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

Dmitri Gribenko gribozavr at gmail.com
Sat Feb 6 20:56:04 CST 2016


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>*/


More information about the swift-dev mailing list