Boost logo

Boost Users :

From: Éò»Û·å (useradd_at_[hidden])
Date: 2005-08-19 19:56:49


Thanks a lot.

The patch works. Now I have the dll library and can use them.

----- Original Message -----
From: "John Maddock" <john_at_[hidden]>
To: <boost-users_at_[hidden]>
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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


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