Re: GCCG with C++11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I googled and found this:

#if __cplusplus <= 199711L
  #error This library needs at least a C++11 compliant compiler
#endif


On Thu, May 28, 2015 at 8:24 AM, Hotmail (ArbolOne) <ArbolOne@xxxxxxxxxx> 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?
>
> Thanks




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux