Index: usinstances.cpp =================================================================== --- usinstances.cpp (revision 1) +++ usinstances.cpp (working copy) @@ -49,6 +49,7 @@ #if BOOST_WORKAROUND(BOOST_MSVC, > 1300) && BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1400)) template<> _CRTIMP2 std::size_t __cdecl char_traits::length(unsigned short const*); #endif +template<> _CRTIMP2 std::allocator::allocator(void); } #endif Index: wc_regex_traits.cpp =================================================================== --- wc_regex_traits.cpp (revision 1) +++ wc_regex_traits.cpp (working copy) @@ -29,6 +29,8 @@ #include #include +template<> _CRTIMP2 std::allocator::allocator(void); + #if defined(BOOST_NO_STDC_NAMESPACE) namespace std{ using ::wcstol;