|
Boost : |
From: Jonathan Wakely (cow_at_[hidden])
Date: 2004-10-07 04:14:33
On Thu, Oct 07, 2004 at 10:35:27AM +0200, Christoph Ludwig wrote:
> Since the last CVS update I cannot build libboost_wserialization
> anymore (gcc 3.4.2 on i686-pc-linux-gnu). I get errors like the
> following:
>
> gcc-C++-action bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/debug/text_wiarchive.o
> /home/cludwig/C++/boost_CVS_SF/boost/archive/text_wiarchive.hpp: In member function `Archive& boost::archive::detail::interface_iarchive<Archive>::operator>>(T&) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Archive = boost::archive::text_wiarchive]':
> [...]
> /home/cludwig/C++/boost_CVS_SF/boost/archive/text_wiarchive.hpp:61: error: `template<class T> void boost::archive::text_wiarchive_impl::load_override(T&, int) [with T = T, Archive = boost::archive::text_wiarchive]' is protected
> /home/cludwig/C++/boost_CVS_SF/boost/archive/detail/interface_iarchive.hpp:83: error: within this context
This looks like it might be due to an elided copy construction.
The standard requires that the copy constructor be accessible in such
a situation, even if not called. GCC 3.4 is stricter about this.
jon
-- "Most men pursue pleasure with such breathless anticipation that they hurry past it." - Kierkegaard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk