C++ 2011 in gcc 4.8.2 from MacPorts ?

Brandon Allbery allbery.b at gmail.com
Wed Jun 25 09:03:16 PDT 2014


On Wed, Jun 25, 2014 at 11:56 AM, Jim Graham <spooky130u at gmail.com> wrote:

> I just upgraded to gcc 4.8.2 (port install gcc48) to get support for C++
> 2011 code, which I need for something I'm working on right now.  However,
> it still exits with the same errors as before the 2011 C++ was added.
> How do I get this to work properly?
>

It's still considered experimental, so not enabled by default. Looks like
-std=c++11 is needed.

(This is an upstream choice, not MacPorts.)

-- 
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-users/attachments/20140625/65506bf2/attachment.html>


More information about the macports-users mailing list