
Thanks a lot. The patch works. Now I have the dll library and can use them. ----- Original Message ----- From: "John Maddock" <john@johnmaddock.co.uk> To: <boost-users@lists.boost.org> Sent: Friday, August 19, 2005 8:03 PM Subject: Re: [Boost-users] Build the dll version ofregexfailswithvc-7_1-stlport
I have compiled the stlport with "/Zc:wchar_t"(I also try /D "_MBCS" and /D"_UNICODE") since the library date_time need it when using stlported, switching "<native-wchar_t>on" and "<native-wchar_t>off" dll file compiling all fails.
OK I've been able to reproduce that with STLport-4.6.2, the following patch will let the regex dll build with STLport and /Zc:wchar_t.
John.
Index: boost/regex/config.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/regex/config.hpp,v retrieving revision 1.62 diff -r1.62 config.hpp 147c147 < #if defined(__cplusplus) && (defined(BOOST_MSVC) || defined(__ICL)) && !defined(BOOST_NO_INTRINSIC_WCHAR_T) && defined(BOOST_WINDOWS) ---
#if defined(__cplusplus) && (defined(BOOST_MSVC) || defined(__ICL)) && !define d(BOOST_NO_INTRINSIC_WCHAR_T) && defined(BOOST_WINDOWS) && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
--------------------------------------------------------------------------------
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users