[swift-dev] [SR-40] Port Swift to Arm progress / question

Dmitri Gribenko gribozavr at gmail.com
Wed Dec 9 13:57:51 CST 2015


On Wed, Dec 9, 2015 at 3:42 AM, Nick Wellnhofer via swift-dev
<swift-dev at swift.org> wrote:
> I guess this only works on 32-bit and needs another check for 64-bit. Why
> isnt't `__swift_ssize_t` simply defined as `ssize_t`? This would avoid this
> kind of problems.

Because we can't include Glibc headers in SwiftShims.

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