|
Boost : |
From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2004-04-18 14:12:45
> namespace detail {
> #if BOOST_WORKAROUND...
> typedef ::mbstate_t mbstate_t;
> #else
> typedef std::mbstate_t mbstate_t;
> #endif
> }
>
> and then use detail::mbstate_t inside the affected boost header files.
This will
> make the boost files compatible with each other, and users of those
headers will
> be able to use whichever one of ::mbstate_t or std::mbstate_t their
compiler
> provides.
>
I had this problem with BCB too. The solution may be likely used here.
Regex (boost/regex/config.hpp) has code to deal with it.
/Pavel
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk