|
Boost Users : |
From: John Maddock (john_at_[hidden])
Date: 2005-08-19 07:03:15
>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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net