Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2006-02-08 22:50:16


fine by me.

Robert Ramey

Joaquín Mª López Muñoz wrote:
> Boost.Serialization is currently not building for CodeWarrior with
> the following error message:
>
> ### mwcc Compiler:
> # In: ..\boost\archive\impl\basic_binary_iprimitive.ipp
> # From: ..\libs\serialization\src\binary_iarchive.cpp
> # ------------------------------------------------------
> # 164: return this->basic_streambuf<Elem, Tr>::sync();
> # Error: ^
> # '(' expected
>
> (see http://tinyurl.com/clsph). This is a long known problem of
> CW compilers, which is devoted several workarounds throughout
> (see for instance boost/archive/impl/text_oarchive_impl.ipp).
> The attached patch to boost/archive/impl/basic_binary_iprimitive.ipp
> mereley uses the same technique to overcome the problem. I can't
> test it beforehand but I'm pretty confident it'll work. OK to commit?
>
> Joaquín M López Muñoz
> Telefónica, Investigación y Desarrollo
>
>
>
>
>
>
>> 163a164,166
>>> #if BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3206))
>>> return this->basic_streambuf::sync();
>>> #else
>> 164a168
>>> #endif
>>
>
>
>
>> _______________________________________________
>> Unsubscribe & other changes:
>> http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk