Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2018-01-11 Thread Ted Kremenek via swift-dev
Thanks Ben. My apologies for the slow follow up since I was out. I think we can continue to just conditionally enable C++14 for now for building swift in Windows until we figure out a better strategy. > On Jan 8, 2018, at 12:32 PM, Ben Langmuir wrote: > > Hi Ted, > > I've created a PR to rev

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2018-01-08 Thread Ben Langmuir via swift-dev
Hi Ted, I've created a PR to revert this: https://github.com/apple/swift/pull/13804 Updating to C++14 broke our Ubuntu 14.04 bots. While those bots are using a new-enough clang, they are still using the system's libstdc++ 4.8 which doesn't include f

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2018-01-05 Thread Ted Kremenek via swift-dev
Thanks Jim. I’ve merged the PR to enable this change. > On Jan 5, 2018, at 2:38 PM, Jim Ingham wrote: > > I have no formal objections to switching lldb to C++14. I haven't been > following what is in C++14, but presumably it's purely additive? If so then > except for bugs this should be a n

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2018-01-05 Thread Davide Italiano via swift-dev
On Fri, Jan 5, 2018 at 2:38 PM, Jim Ingham via swift-dev wrote: > I have no formal objections to switching lldb to C++14. I haven't been > following what is in C++14, but presumably it's purely additive? If so then > except for bugs this should be a no-op. > +1 > My only reservation is it se

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2018-01-05 Thread Jim Ingham via swift-dev
I have no formal objections to switching lldb to C++14. I haven't been following what is in C++14, but presumably it's purely additive? If so then except for bugs this should be a no-op. My only reservation is it seems a little odd to adopt a "use C++14" policy for Swift lldb and not for ll

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2018-01-03 Thread Ted Kremenek via swift-dev
I’m pinging some folks, but not everybody is back yet. I hope to resolve this ASAP. > On Jan 2, 2018, at 11:33 AM, Saleem Abdulrasool wrote: > >> On Wed, Dec 20, 2017 at 4:26 PM, Ted Kremenek wrote: >> >>> On Dec 19, 2017, 8:33 PM -0800, Ted Kremenek via swift-dev >>> , wrote: >>> >>> >>>

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2018-01-02 Thread Saleem Abdulrasool via swift-dev
On Wed, Dec 20, 2017 at 4:26 PM, Ted Kremenek wrote: > > On Dec 19, 2017, 8:33 PM -0800, Ted Kremenek via swift-dev < > swift-dev@swift.org>, wrote: > > > > On Dec 19, 2017, at 5:08 PM, Saleem Abdulrasool > wrote: > > > > On Dec 19, 2017, at 3:59 PM, Ted Kremenek wrote: > > > > On Dec 19, 2017,

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-20 Thread Ted Kremenek via swift-dev
On Dec 19, 2017, 8:33 PM -0800, Ted Kremenek via swift-dev , wrote: > > > On Dec 19, 2017, at 5:08 PM, Saleem Abdulrasool wrote: > > > > > > > > On Dec 19, 2017, at 3:59 PM, Ted Kremenek wrote: > > > > > > > > > > > > > On Dec 19, 2017, at 2:31 PM, Daniel Dunbar > > > > wrote: > > > > > > > >

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-20 Thread David Zarzycki via swift-dev
> On Dec 19, 2017, at 17:44, Adrian Prantl via swift-dev > wrote: > > I am still hoping that one day we could retire build-script and just throw > swift into llvm/tools, so it can be built in parallel with llvm and clang by > the same ninja invocation. You can build that way if you want, al

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Ted Kremenek via swift-dev
> On Dec 19, 2017, at 5:08 PM, Saleem Abdulrasool wrote: > > > >>> On Dec 19, 2017, at 3:59 PM, Ted Kremenek wrote: >>> >>> >>> On Dec 19, 2017, at 2:31 PM, Daniel Dunbar wrote: On Dec 19, 2017, at 2:27 PM, Ted Kremenek wrote: Fair enough. >>

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Saleem Abdulrasool via swift-dev
> On Dec 19, 2017, at 3:59 PM, Ted Kremenek wrote: > > > >> On Dec 19, 2017, at 2:31 PM, Daniel Dunbar > > wrote: >> >> >> >>> On Dec 19, 2017, at 2:27 PM, Ted Kremenek >> > wrote: >>> >>> Fair enough. >>> >>> We care about swift

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Daniel Dunbar via swift-dev
> On Dec 19, 2017, at 3:59 PM, Ted Kremenek wrote: > > > >> On Dec 19, 2017, at 2:31 PM, Daniel Dunbar > > wrote: >> >> >> >>> On Dec 19, 2017, at 2:27 PM, Ted Kremenek >> > wrote: >>> >>> Fair enough. >>> >>> We care about swift

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Ted Kremenek via swift-dev
> On Dec 19, 2017, at 2:31 PM, Daniel Dunbar wrote: > > > >> On Dec 19, 2017, at 2:27 PM, Ted Kremenek > > wrote: >> >> Fair enough. >> >> We care about swiftc and llbuild building a variety of platforms today — >> FreeBSD, Rasberry Pi, etc. My impression is tha

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Adrian Prantl via swift-dev
> On Dec 19, 2017, at 2:31 PM, Daniel Dunbar via swift-lldb-dev > wrote: > > > >> On Dec 19, 2017, at 2:27 PM, Ted Kremenek wrote: >> >> Fair enough. >> >> We care about swiftc and llbuild building a variety of platforms today — >> FreeBSD, Rasberry Pi, etc. My impression is that C++14

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Daniel Dunbar via swift-dev
> On Dec 19, 2017, at 2:27 PM, Ted Kremenek wrote: > > Fair enough. > > We care about swiftc and llbuild building a variety of platforms today — > FreeBSD, Rasberry Pi, etc. My impression is that C++14 is generally > supported by both (a) the mininum versions of the distributions we support

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Ted Kremenek via swift-dev
Fair enough. We care about swiftc and llbuild building a variety of platforms today — FreeBSD, Rasberry Pi, etc.  My impression is that C++14 is generally supported by both (a) the mininum versions of the distributions we support today and (b) the current versions of the platforms we’d like to

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Daniel Dunbar via swift-dev
It wasn’t changed, it has *always* been C++14 since the day we open sourced it. I only investigated the platforms we officially support (Ubuntu 14.04/15.10 at the time, and macOS 10.10+ IIRC). - Daniel > On Dec 19, 2017, at 2:21 PM, Ted Kremenek wrote: > > Daniel, > > When you changed llbui

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-19 Thread Ted Kremenek via swift-dev
Daniel, When you changed llbuild to require C++14, what platforms did you take into account with that change? If you have already done the assessment here it could speed a resolution of a decision. Thanks, Ted > On Dec 13, 2017, at 3:19 PM, Daniel Dunbar via swift-lldb-dev > wrote: > > FWI

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2017-12-13 Thread Daniel Dunbar via swift-dev
FWIW, llbuild requires C++14. We have to do some minor shenanigans to workaround bugs in libstdc++ on 14.04, and our use is probably minimal, but just throwing that out there. - Daniel > On Dec 13, 2017, at 1:45 PM, Jordan Rose via swift-lldb-dev > wrote: > > No one else has commented on th