C++ 2011 in gcc 4.8.2 from MacPorts ?

Daniel James dnljms at gmail.com
Wed Jun 25 09:01:32 PDT 2014


On 25 June 2014 16:56, 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?

You need to use the flag: --std=c++11


More information about the macports-users mailing list