Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53664 - trunk/boost/regex
From: john_at_[hidden]
Date: 2009-06-06 04:49:32


Author: johnmaddock
Date: 2009-06-06 04:49:30 EDT (Sat, 06 Jun 2009)
New Revision: 53664
URL: http://svn.boost.org/trac/boost/changeset/53664

Log:
Another tentative VC10 beta fix.
Text files modified:
   trunk/boost/regex/config.hpp | 6 ++++--
   1 files changed, 4 insertions(+), 2 deletions(-)

Modified: trunk/boost/regex/config.hpp
==============================================================================
--- trunk/boost/regex/config.hpp (original)
+++ trunk/boost/regex/config.hpp 2009-06-06 04:49:30 EDT (Sat, 06 Jun 2009)
@@ -165,8 +165,10 @@
 # pragma warning(disable : 4251 4231 4660)
 # endif
 # ifdef _DLL
-# include <string>
- extern template class __declspec(dllimport) std::basic_string<unsigned short>;
+# if BOOST_WORKAROUND(BOOST_MSVC, <1600)
+# include <string>
+ extern template class __declspec(dllimport) std::basic_string<unsigned short>;
+# endif
 # endif
 # ifdef BOOST_MSVC
 # pragma warning(pop)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk