I need support for Visual Studio 2012 as well as the new Intel Compiler 13.
Is it enough to just add them to the Macros in stlsoft/stlsoft.h?
I volunteer for testing patches.
I have the same requirement about Visual Studio 2012, so I decided to create a patch in order to support it.
I have tested it a bit and it works well enough to acomplish my requirement. I'm using it with Pantheios (you will need to patch Pantheios too).
If you want to try it, the patch is below (I couldn't find an upload file option here :( )
-- include/stlsoft/stlsoft.h Mon Jan 19 23:26:36 1970
+++ include/stlsoft/stlsoft.h Mon Jan 19 23:26:36 1970
@@ -664,8 +664,10 @@
# define STLSOFT_COMPILER_VERSION_STRING "Visual C++ 9.0"
# elif (_MSC_VER == 1600)
# define STLSOFT_COMPILER_VERSION_STRING "Visual C++ 10.0"
+# elif (_MSC_VER == 1700)
+# define STLSOFT_COMPILER_VERSION_STRING "Visual C++ 11.0"
# else /* ? _MSC_VER */
-# error Currently only versions 5.0, 6.0, 7.0, 7.1, 8.0, 9.0 and 10.0 of the Visual C++ compiler are supported by the STLSoft libraries
+# error Currently only versions 5.0, 6.0, 7.0, 7.1, 8.0, 9.0, 10.0 and 11.0 of the Visual C++ compiler are supported by the STLSoft libraries
# endif /* _MSC_VER */
#else /* ? compiler */
-- include/stlsoft/util/std/iterator_helper.hpp Mon Jan 19 23:26:36 1970
+++ include/stlsoft/util/std/iterator_helper.hpp Mon Jan 19 23:26:36 1970
@@ -429,6 +429,7 @@
STLSOFT_CF_STD_LIBRARY_DINKUMWARE_VC_VERSION == STLSOFT_CF_DINKUMWARE_VC_VERSION_8_0 || \
STLSOFT_CF_STD_LIBRARY_DINKUMWARE_VC_VERSION == STLSOFT_CF_DINKUMWARE_VC_VERSION_9_0 || \
STLSOFT_CF_STD_LIBRARY_DINKUMWARE_VC_VERSION == STLSOFT_CF_DINKUMWARE_VC_VERSION_10_0 || \
+ STLSOFT_CF_STD_LIBRARY_DINKUMWARE_VC_VERSION == STLSOFT_CF_DINKUMWARE_VC_VERSION_11_0 || \
/* Visual C++ + Dinkumware */
-- include/stlsoft/util/std/library_discriminator.hpp Mon Jan 19 23:26:36 1970
+++ include/stlsoft/util/std/library_discriminator.hpp Mon Jan 19 23:26:36 1970
@@ -289,6 +289,7 @@
#define STLSOFT_CF_DINKUMWARE_VC_VERSION_8_0 (0x0800)
#define STLSOFT_CF_DINKUMWARE_VC_VERSION_9_0 (0x0900)
#define STLSOFT_CF_DINKUMWARE_VC_VERSION_10_0 (0x0a00)
+#define STLSOFT_CF_DINKUMWARE_VC_VERSION_11_0 (0x0b00)
# if defined(STLSOFT_COMPILER_IS_INTEL) && \
@@ -339,8 +340,15 @@
# endif /* STLSOFT_COMPILE_VERBOSE */
# define STLSOFT_CF_STD_LIBRARY_DINKUMWARE_VC_VERSION STLSOFT_CF_DINKUMWARE_VC_VERSION_10_0
+# elif _CPPLIB_VER <= 540
+ /* Version 11.0 */
+# ifdef STLSOFT_COMPILE_VERBOSE
+# pragma message(" Dinkumware version 10.0")
+# endif /* STLSOFT_COMPILE_VERBOSE */
+# define STLSOFT_CF_STD_LIBRARY_DINKUMWARE_VC_VERSION STLSOFT_CF_DINKUMWARE_VC_VERSION_11_0
-# error Dinkumware C++ Library version unrecognised: are you using a version of VC++ later than 10.0?
+# error Dinkumware C++ Library version unrecognised: are you using a version of VC++ later than 11.0?
# endif /* _CPPLIB_VER */
STLSoft support for VC++ 12/14 in 1.9.119, just released.
Pantheios support will be coming soon.
No current plans to support ICL, but happy to help with advice for someone to do it.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.