|
Boost : |
From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2006-02-08 10:19:17
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk