
Hi, On Mon, May 24, 2004 at 09:14:37AM +0800, Allen Yao wrote:
I fixed bugs in serialization18 yesterday. The bugs are almost all about dependent names:
- lacking "this->" before "This()", "base_reference()", "newtoken()", "end_preamble()", and some data members inherited from templated base class. (BTW: using -fpermissive cannot fix the bugs about dependent data members.)
Are these patches somewhere available until Robert Ramey checks the serialization library into CVS (at which time these problems will be resolved, I hope)? On Thu, May 27, 2004 at 04:31:58AM +0200, Giovanni Bajo wrote:
Allen Yao wrote:
inline void basic_oarchive_impl::save_pointer( basic_oarchive & ar, const void * t, const basic_oserializer_pointer & bos_ptr ){ ... ar << class_name_type(key); // This line causes an error message said that // boost::noncopyable's ctor is private. Strange! ... }
See: http://gcc.gnu.org/bugs.html#cxx_rvalbind which explains the problem. In a nutshell: ------------------------------------- struct A : boost::noncopyable {}; void foo(const A& a);
foo(A()); // ill-formed ------------------------------------- but it used to be accepted, and it is still (wrongly) accepted by many compilers.
Before I spend time looking into it, does anyone have a patch that resolves this issue? Thanks Christoph -- http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/cludwig.html LiDIA: http://www.informatik.tu-darmstadt.de/TI/LiDIA/Welcome.html