Re: [swift-users] Compile error trying to follow Swift for Windows MSVC instructions

2017-11-14 Thread Michael Gottesman via swift-users
+CC Compnerd > On Nov 9, 2017, at 10:36 AM, Eric Wing via swift-users > wrote: > > I'm trying to build Swift for Windows with Visual Studio using the > directions found here: > https://github.com/apple/swift/blob/master/docs/Windows.md > > I'm following the MSVC section

Re: [swift-users] بخصوص: About Swift Package Manager and LLDB

2017-11-07 Thread Michael Gottesman via swift-users
s. You can pass >>>>> appropriate -I, -L and -F flags to the “swift” invocation too tell the >>>>> compiler lldb’s using to implement the REPL where to look for this module. >>>>> >>>>> The example you gave seems to be a MacOS

Re: [swift-users] About Swift Package Manager and LLDB

2017-11-06 Thread Michael Gottesman via swift-users
t;https://github.com/apple/swift/blob/master/docs/DebuggingTheCompiler.rst#debugging-failures-in-lldb> > > I would just enable all of the logging and post it here or if the log is very > big put the log into a pastebin. > >> On Nov 6, 2017, at 8:59 AM, Michael Gottesman via swi

Re: [swift-users] About Swift Package Manager and LLDB

2017-11-06 Thread Michael Gottesman via swift-users
I am not going to answer this fully (I forwarded it to the appropriate people though). But to help them out, can you go to ./docs/DebuggingTheCompiler and enable lldb logging and post the output here? Michael > On Nov 6, 2017, at 8:43 AM, ⁨‫Fadi Botros‬ ‫ via swift-users⁩ >

Re: [swift-users] Swift 4.0 LLDBFrontend Crash

2017-10-12 Thread Michael Gottesman via swift-users
I just added a section to ./docs/DebuggingTheCompiler.rst on how to get enable logging from LLDB. Can you enable the logging there and add file an SR? Michael > On Oct 7, 2017, at 11:27 AM, Edward Connell wrote: > > Hi Michael, > No I am not evaluating an expression or

Re: [swift-users] Swift 4.0 LLDBFrontend Crash

2017-10-06 Thread Michael Gottesman via swift-users
It looks like this is failing during guaranteed optimization. Are you running an expression in the debugger and we are crashing there? Michael > On Oct 6, 2017, at 11:53 AM, Edward Connell via swift-users > wrote: > > While trying to debug a Netlib function, LLDB is

Re: [swift-users] Why no new Development Snapshots since Aug 3?

2017-08-10 Thread Michael Gottesman via swift-users
This is a question for Mishal (+CC). > On Aug 10, 2017, at 6:42 PM, Jens Persson via swift-users > wrote: > > The most recent Development Snapshot is 2017-08-03, but it used to be a new > one almost daily. What happened? > /Jens >

Re: [swift-users] Help! Slicing an array is very expensive

2017-05-09 Thread Michael Gottesman via swift-users
Could you file a bug report? bugs.swift.org? Michael > On May 9, 2017, at 12:59 AM, Howard Lovatt via swift-users > wrote: > > My mistake. If I create a new array I get the problem. EG: > > import Foundation > > func elapsed(s: DispatchTime, e: DispatchTime) -> Double

Re: [swift-users] How to Debug: Swift 3.1 Optimizations Causes All Sorts of Memory Crashes on My Apps

2017-04-05 Thread Michael Gottesman via swift-users
> On Apr 5, 2017, at 3:13 PM, Felipe Cypriano via swift-users > wrote: > > Hello, > > We have updated our codebase to Xcode 8.3 and to my knowledge that means we > are now using Swift 3.1 compiler. Our first release using it - almost no > change to code since we

Re: [swift-users] Unable to build swift master branch

2017-04-02 Thread Michael Gottesman via swift-users
>>>> <mailto:mgottes...@apple.com>> wrote: >>>> >>>> I was just informed that swift-corelibs-foundation is actually using >>>> ninja! My bad! >>>> >>>> Still I would use the preset from the bots. It should just work. &

Re: [swift-users] Unable to build swift master branch

2017-04-02 Thread Michael Gottesman via swift-users
ots. It should just work. Otherwise, > you are missing a dependency or have differing versions/etc. > > Michael > >> On Mar 30, 2017, at 4:25 PM, Michael Gottesman <mgottes...@apple.com >> <mailto:mgottes...@apple.com>> wrote: >> >>> >>&

Re: [swift-users] Unable to build swift master branch

2017-03-30 Thread Michael Gottesman via swift-users
gottes...@apple.com> wrote: > >> >> On Mar 30, 2017, at 4:22 PM, Michael Gottesman via swift-users >> <swift-users@swift.org <mailto:swift-users@swift.org>> wrote: >> >>> >>> On Mar 30, 2017, at 12:31 PM, Mohit Athwani via swift-users

Re: [swift-users] Unable to build swift master branch

2017-03-30 Thread Michael Gottesman via swift-users
> On Mar 30, 2017, at 4:22 PM, Michael Gottesman via swift-users > <swift-users@swift.org> wrote: > >> >> On Mar 30, 2017, at 12:31 PM, Mohit Athwani via swift-users >> <swift-users@swift.org <mailto:swift-users@swift.org>> wrote: >> >

Re: [swift-users] Unable to build swift master branch

2017-03-30 Thread Michael Gottesman via swift-users
> On Mar 30, 2017, at 12:31 PM, Mohit Athwani via swift-users > wrote: > > I'm trying to get back to work starting from scratch on Swift Foundation on > my Ubuntu 16.04 LTS system. > > I cloned the main swift repo and all of it's dependencies via ssh >

Re: [swift-users] @swift-ci Response time

2017-03-05 Thread Michael Gottesman via swift-users
> On Mar 5, 2017, at 11:58 AM, Michael Gottesman wrote: > > >> On Mar 4, 2017, at 5:24 PM, Mohit Athwani via swift-users >> > wrote: >> >> Hello, >> >> I submitted my first pull request ever and I'm super excited! >>

Re: [swift-users] @swift-ci Response time

2017-03-05 Thread Michael Gottesman via swift-users
> On Mar 4, 2017, at 5:24 PM, Mohit Athwani via swift-users > wrote: > > Hello, > > I submitted my first pull request ever and I'm super excited! > > @swift-ci has been tagged to test my code and I'm wondering how long does it > take to perform it's tests and give me

Re: [swift-users] Getting started with development

2017-02-13 Thread Michael Gottesman via swift-users
> On Feb 13, 2017, at 7:09 PM, Mohit Athwani via swift-users > wrote: > > Hello, > I'm a master's student in computer science and as part of my degree, I have > to contribute to some well known open source repositories. I have been an iOS > developer since 5 years now

Re: [swift-users] Importing Foundation or Glibc in REPL on Ubuntu 16.10 failing

2017-01-30 Thread Michael Gottesman via swift-users
Hmm... this sounds like this may be a good integration test. I am not sure what is going on here though. If I have a moment I will take a look a bit later today. Michael > On Jan 28, 2017, at 1:22 PM, Peter Ronnquist via swift-users > wrote: > > I have the same

Re: [swift-users] Importing Foundation or Glibc in REPL on Ubuntu 16.10 failing

2017-01-30 Thread Michael Gottesman via swift-users
Peter, what are you doing specifically. I.e. are you passing any arguments to swift or something like that? Can you give a full reproducer? Also can you type swift -v to confirm the version #? Michael > On Jan 30, 2017, at 12:04 PM, Michael Gottesman via swift-users > <swift-users@

Re: [swift-users] Importing Foundation or Glibc in REPL on Ubuntu 16.10 failing

2017-01-30 Thread Michael Gottesman via swift-users
Interesting... it looks like we /do/ have an integration test that imports glibc into the repl: https://github.com/apple/swift-integration-tests/blob/master/repl/test-repl-glibc.py Probably could use one

Re: [swift-users] question about swift and c callbacks

2016-12-30 Thread Michael Gottesman via swift-users
Can you create a quick tarball of the swiftpm project. Would expedite the answering of the question. Michael > On Dec 30, 2016, at 11:17 AM, Yang Yang via swift-users > wrote: > > I try to wrap a c library in swift package named Test. > The code looks like this: > >

Re: [swift-users] Ubuntu 16.04 support?

2016-09-21 Thread Michael Gottesman via swift-users
+CC Todd. > On Sep 20, 2016, at 9:25 PM, Ron Olson via swift-users > wrote: > > Hmm, I don’t get that at all: > > Welcome to Swift version 3.0 (swift-3.0-RELEASE). Type :help for assistance. > 1> import Foundation > 2> NSURL(string:"http://swift.org;

Re: [swift-users] Long compilation times

2016-08-22 Thread Michael Gottesman via swift-users
> On Aug 19, 2016, at 9:23 PM, Diego Sánchez via swift-users > wrote: > > Hi all, > > We're suffering from very long Swift compilation times in our project. Each > file takes ~1 second to compile (-Onone), (measured with xctool -jobs 1), > which is hitting our

Re: [swift-users] Pointer conversions between different sockaddr types

2016-08-19 Thread Michael Gottesman via swift-users
> On Aug 19, 2016, at 1:58 PM, Andrew Trick via swift-users > wrote: > > >> On Aug 18, 2016, at 12:28 AM, Quinn The Eskimo! via swift-users >> > wrote: >> >> >> On 17 Aug 2016, at 18:55, Martin R via swift-users

Re: [swift-users] problems with simple binary-trees program

2015-12-23 Thread Michael Gottesman via swift-users
> On Dec 23, 2015, at 11:32 AM, Pascal Urban wrote: > >> >> On 22.12.2015, at 21:40, Michael Gottesman > > wrote: >> >> >>> On Dec 22, 2015, at 2:31 PM, Pascal Urban via swift-users >>>

Re: [swift-users] Design and performance of Vector2/3/4 and Matrix

2015-12-18 Thread Michael Gottesman via swift-users
> On Dec 18, 2015, at 5:13 PM, David Turnbull via swift-users > wrote: > > On Fri, Dec 18, 2015 at 2:31 PM, Janosch Hildebrand via swift-users > > wrote: > You will also want to have this code in the same module that