Build information options don't show the compiler version? eg,i use gcc 6.2,and it shows unknow...
so will the next nightly builds add few codes can detect the compiler version which is using ?
//MSVC++ 14.0 _MSC_VER == 1900 (Visual Studio 2015)
//MSVC++ 12.0 _MSC_VER == 1800 (Visual Studio 2013)
//MSVC++ 11.0 _MSC_VER == 1700 (Visual Studio 2012)
//MSVC++ 10.0 _MSC_VER == 1600 (Visual Studio 2010)
//MSVC++ 9.0 _MSC_VER == 1500 (Visual Studio 2008)
//MSVC++ 8.0 _MSC_VER == 1400 (Visual Studio 2005)
//MSVC++ 7.1 _MSC_VER == 1310 (Visual Studio 2003)
//MSVC++ 7.0 _MSC_VER == 1300
//MSVC++ 6.0 _MSC_VER == 1200
//MSVC++ 5.0 _MSC_VER == 1100
#ifdef __GNUC__
printf("\nCompiled by gcc-%d.%d.%d\n", __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__);
#elif _MSC_VER
// printf("\nCompiled by %d\n", _MSC_VER);
if (_MSC_VER == 1900)
printf("\nCompiled by VC2015\n");
else if (_MSC_VER == 1800)
printf("\nCompiled by VC2013\n");
else if (_MSC_VER == 1700)
printf("\nCompiled by VC2012\n");
else if (_MSC_VER == 1600)
printf("\nCompiled by VC2010\n");
else if (_MSC_VER == 1500)
printf("\nCompiled by VC2008\n");
else if (_MSC_VER == 1400)
printf("\nCompiled by VC2005\n");
else if (_MSC_VER == 1310)
printf("\nCompiled by VC2003\n");
else if (_MSC_VER == 1200)
printf("\nCompiled by VC6.0");
else
printf("\nCompiled by Other VC compiler\n");
#endif // __GNUC__
#ifdef __GLIBC__
printf("Glibc version :%d \n", __GLIBC__);//C Libraries
#elif __GLIBCXX__
printf("Glibc version :%d \n", __GLIBCXX__);//C++ Libraries
#endif // __GLIBC__