This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCCG with C++11


On 28 May 2015 at 16:24, Hotmail (ArbolOne) <ArbolOne@hotmail.ca> wrote:
> If I am not mistaken _MSC_VER >= 1600 is the version that started
> implementing C++11. So, I test for that version of the compiler in my code,
> i.e.
> #ifdef _MSC_VER >= 1600
>    ....
> #endif
> I would like to do the same for __GNUG__, but what version of g++ started
> implementing C++11?

4.3 (see https://gcc.gnu.org/projects/cxx0x.html) but it's not much
use knowing when support started appearing if you need to use a
feature that wasn't supported until later.

GCC 4.8.1 has complete C++11 language support, 5.1 has complete C++11
library support.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]