-std=c++11 for gnuplot +qt5 (was Re: building from source with libc++)
Mojca Miklavec
mojca at macports.org
Fri Apr 21 05:20:53 UTC 2017
On 20 April 2017 at 23:12, Andrew L. Moore wrote:
> Sorry to land in the middle this discussion with some dumb questions...
>
> I'm on macOS 10.12.4 (Sierra)/Xcode 8.3.2, but was reviewing
> LibcxxOnOlderSystems
> after having to add `configure.cxxflags-append -std=c++11’ in gnuplot
> Portfile for variant qt5.
>
> Is my understanding correct that, on Sierra, Apple clang++ isn’t using c++11
> by default?
I've never heard of it not using it.
Even if you run "clang -stdlib=libc++" on 10.7 with a super ancient
compiler, you get (some of) C++11 by default.
The only exception is this one:
- https://trac.macports.org/ticket/53634
but that one has nothing to do with the stock compiler.
> Lots more head-scratching along these lines… Any pointers would be
> appreciated!
Sorry, I'm clueless.
Mojca
More information about the macports-dev
mailing list