diff --git a/ispc.vcxproj b/ispc.vcxproj
index 0db05f22..37b8282e 100755
--- a/ispc.vcxproj
+++ b/ispc.vcxproj
@@ -100,6 +100,7 @@
+
diff --git a/ispc_version.h b/ispc_version.h
index 6b2bad4a..098128b2 100644
--- a/ispc_version.h
+++ b/ispc_version.h
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2015, Intel Corporation
+ Copyright (c) 2015-2016, Intel Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/main.cpp b/main.cpp
index 85bd7902..4ea6c54e 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2010-2015, Intel Corporation
+ Copyright (c) 2010-2016, Intel Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -56,14 +56,28 @@
#define BUILD_DATE __DATE__
#endif
#define BUILD_VERSION ""
+#if _MSC_VER >= 1900
+#define ISPC_VS_VERSION "Visual Studio 2015 and later"
+#else
+#define ISPC_VS_VERSION "Visual Studio 2013 and earlier"
+#endif
#endif // ISPC_IS_WINDOWS
static void
lPrintVersion() {
- printf("Intel(r) SPMD Program Compiler (ispc), %s (build %s @ %s, LLVM %s)\n",
- ISPC_VERSION, BUILD_VERSION, BUILD_DATE,
- ISPC_LLVM_VERSION_STRING
+#ifdef ISPC_IS_WINDOWS
+ printf("Intel(r) SPMD Program Compiler (ispc), %s (build date %s, LLVM %s)\n"
+ "Supported Visual Studio versions: %s.\n",
+ ISPC_VERSION, BUILD_DATE,
+ ISPC_LLVM_VERSION_STRING,
+ ISPC_VS_VERSION
);
+#else
+ printf("Intel(r) SPMD Program Compiler (ispc), %s (build %s @ %s, LLVM %s)\n",
+ ISPC_VERSION, BUILD_VERSION, BUILD_DATE,
+ ISPC_LLVM_VERSION_STRING
+ );
+#endif
}