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) <arbol...@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? > > Thanks ------------------------------------------------------------------------------ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public