standard way to require c++11?

Brandon Allbery allbery.b at gmail.com
Tue Apr 14 05:56:48 PDT 2015


On Tue, Apr 14, 2015 at 2:18 AM, Mihai Moldovan <ionic at macports.org> wrote:

> This by itself is not pulling in anything yet. What I wanted to express
> is that I assume using libstdc++ on >= 10.9 an error and using libc++ on
> <= 10.8 an error.
>

10.7 supports libc++.

Why
> would you not use libstdc++, if it works *and* can be used -- together
> with GCC -- to compile C++11 code?


Last I checked, it doesn't work; Apple does not and will not ship a
libstdc++ that is C++11-compatible, because all such are GPL3.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20150414/f0febed1/attachment-0001.html>


More information about the macports-dev mailing list