Unverified Commit 7a16567e authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

better version info output with intel compilers

parent 0fa6472c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1203,7 +1203,8 @@ char *Info::get_compiler_info()
#if __clang__
  snprintf(buf,_INFOBUF_SIZE,"Clang C++ %s", __VERSION__);
#elif __INTEL_COMPILER
  snprintf(buf,_INFOBUF_SIZE,"Intel C++ %s", __VERSION__);
  double version = static_cast<double>(__INTEL_COMPILER)*0.01;
  snprintf(buf,_INFOBUF_SIZE,"Intel C++ %5.2f.%d / %s", version, __INTEL_COMPILER_UPDATE, __VERSION__);
#elif __GNUC__
  snprintf(buf,_INFOBUF_SIZE,"GNU C++ %s",   __VERSION__);
#else