[Boost-bugs] [Boost C++ Libraries] #3253: Serialization does not compile on trunk 20090708

Subject: [Boost-bugs] [Boost C++ Libraries] #3253: Serialization does not compile on trunk 20090708
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-08 13:56:33


#3253: Serialization does not compile on trunk 20090708
------------------------------------+---------------------------------------
 Reporter: ramon.casellas@… | Owner: ramey
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: serialization
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: |
------------------------------------+---------------------------------------
 Failure to compile

 OS: debian 5.0 gcc 4.3.2 - fails to compile after today's svn update

 seems that some typenames are missing

 e.g.

  typename oserializer_map<Archive>::iterator

 thank you


 full log
 =============
 ./boost/archive/impl/archive_pointer_iserializer.ipp:48: error: expected
 `;' before ‘result’
 ./boost/archive/impl/archive_pointer_iserializer.ipp:49: error: ‘result’
 was not declared in this scope
 ./boost/archive/impl/archive_pointer_iserializer.ipp: In destructor
 â€˜virtual
 boost::archive::detail::archive_pointer_iserializer<Archive>::~archive_pointer_iserializer()’:
 ./boost/archive/impl/archive_pointer_iserializer.ipp:86: error: expected
 `;' before ‘result’
 ./boost/archive/impl/archive_pointer_iserializer.ipp:87: error: ‘result’
 was not declared in this scope
 ./boost/archive/impl/archive_pointer_iserializer.ipp: In constructor
 â€˜boost::archive::detail::archive_pointer_iserializer<Archive>::archive_pointer_iserializer(const
 boost::serialization::extended_type_info&) [with Archive =
 boost::archive::naked_xml_wiarchive]’:
 libs/serialization/src/xml_wiarchive.cpp:43: instantiated from here
 ./boost/archive/impl/archive_pointer_iserializer.ipp:48: error: dependent-
 name ‘boost::archive::detail::<unnamed>::iserializer_map::iterator’ is
 parsed as a non-type, but instantiation yields a type
 ./boost/archive/impl/archive_pointer_iserializer.ipp:48: note: say
 â€˜typename boost::archive::detail::<unnamed>::iserializer_map::iterator’ if
 a type is meant
 ./boost/archive/impl/archive_pointer_iserializer.ipp: In destructor
 â€˜boost::archive::detail::archive_pointer_iserializer<Archive>::~archive_pointer_iserializer()
 [with Archive = boost::archive::naked_xml_wiarchive]’:
 libs/serialization/src/xml_wiarchive.cpp:43: instantiated from here
 ./boost/archive/impl/archive_pointer_iserializer.ipp:86: error: dependent-
 name ‘boost::archive::detail::<unnamed>::iserializer_map::iterator’ is
 parsed as a non-type, but instantiation yields a type
 ./boost/archive/impl/archive_pointer_iserializer.ipp:86: note: say
 â€˜typename boost::archive::detail::<unnamed>::iserializer_map::iterator’ if
 a type is meant
 ./boost/archive/impl/archive_pointer_iserializer.ipp: In constructor
 â€˜boost::archive::detail::archive_pointer_iserializer<Archive>::archive_pointer_iserializer(const
 boost::serialization::extended_type_info&) [with Archive =
 boost::archive::xml_wiarchive]’:
 libs/serialization/src/xml_wiarchive.cpp:47: instantiated from here
 ./boost/archive/impl/archive_pointer_iserializer.ipp:48: error: dependent-
 name ‘boost::archive::detail::<unnamed>::iserializer_map::iterator’ is
 parsed as a non-type, but instantiation yields a type
 ./boost/archive/impl/archive_pointer_iserializer.ipp:48: note: say
 â€˜typename boost::archive::detail::<unnamed>::iserializer_map::iterator’ if
 a type is meant
 ./boost/archive/impl/archive_pointer_iserializer.ipp: In destructor
 â€˜boost::archive::detail::archive_pointer_iserializer<Archive>::~archive_pointer_iserializer()
 [with Archive = boost::archive::xml_wiarchive]’:
 libs/serialization/src/xml_wiarchive.cpp:47: instantiated from here
 ./boost/archive/impl/archive_pointer_iserializer.ipp:86: error: dependent-
 name ‘boost::archive::detail::<unnamed>::iserializer_map::iterator’ is
 parsed as a non-type, but instantiation yields a type
 ./boost/archive/impl/archive_pointer_iserializer.ipp:86: note: say
 â€˜typename boost::archive::detail::<unnamed>::iserializer_map::iterator’ if
 a type is meant

     "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
 -pthread -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o
 "bin.v2/libs/serialization/build/gcc-4.3.2/release/link-static/threading-
 multi/xml_wiarchive.o" "libs/serialization/src/xml_wiarchive.cpp"

 ...failed gcc.compile.c++
 bin.v2/libs/serialization/build/gcc-4.3.2/release/link-static/threading-
 multi/xml_wiarchive.o...
 gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.3.2/release/link-
 static/threading-multi/xml_woarchive.o
 In file included from libs/serialization/src/xml_woarchive.cpp:24:
 ./boost/archive/impl/archive_pointer_oserializer.ipp: In constructor
 â€˜boost::archive::detail::archive_pointer_oserializer<Archive>::archive_pointer_oserializer(const
 boost::serialization::extended_type_info&)’:
 ./boost/archive/impl/archive_pointer_oserializer.ipp:43: error: expected
 `;' before ‘result’
 ./boost/archive/impl/archive_pointer_oserializer.ipp:44: error: ‘result’
 was not declared in this scope
 ./boost/archive/impl/archive_pointer_oserializer.ipp: In destructor
 â€˜virtual
 boost::archive::detail::archive_pointer_oserializer<Archive>::~archive_pointer_oserializer()’:
 ./boost/archive/impl/archive_pointer_oserializer.ipp:81: error: expected
 `;' before ‘result’
 ./boost/archive/impl/archive_pointer_oserializer.ipp:82: error: ‘result’
 was not declared in this scope
 ./boost/archive/impl/archive_pointer_oserializer.ipp: In constructor
 â€˜boost::archive::detail::archive_pointer_oserializer<Archive>::archive_pointer_oserializer(const
 boost::serialization::extended_type_info&) [with Archive =
 boost::archive::xml_woarchive]’:
 libs/serialization/src/xml_woarchive.cpp:61: instantiated from here
 ./boost/archive/impl/archive_pointer_oserializer.ipp:43: error: dependent-
 name ‘boost::archive::detail::<unnamed>::oserializer_map::iterator’ is
 parsed as a non-type, but instantiation yields a type
 ./boost/archive/impl/archive_pointer_oserializer.ipp:43: note: say
 â€˜typename boost::archive::detail::<unnamed>::oserializer_map::iterator’ if
 a type is meant
 ./boost/archive/impl/archive_pointer_oserializer.ipp: In destructor
 â€˜boost::archive::detail::archive_pointer_oserializer<Archive>::~archive_pointer_oserializer()
 [with Archive = boost::archive::xml_woarchive]’:
 libs/serialization/src/xml_woarchive.cpp:61: instantiated from here
 ./boost/archive/impl/archive_pointer_oserializer.ipp:81: error: dependent-
 name ‘boost::archive::detail::<unnamed>::oserializer_map::iterator’ is
 parsed as a non-type, but instantiation yields a type
 ./boost/archive/impl/archive_pointer_oserializer.ipp:81: note: say
 â€˜typename boost::archive::detail::<unnamed>::oserializer_map::iterator’ if
 a type is meant

     "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
 -pthread -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o
 "bin.v2/libs/serialization/build/gcc-4.3.2/release/link-static/threading-
 multi/xml_woarchive.o" "libs/serialization/src/xml_woarchive.cpp"

 ...failed gcc.compile.c++
 bin.v2/libs/serialization/build/gcc-4.3.2/release/link-static/threading-
 multi/xml_woarchive.o...
 ...skipped <pbin.v2/libs/serialization/build/gcc-4.3.2/release/link-static
 /threading-multi>libboost_wserialization.a(clean) for lack of
 <pbin.v2/libs/serialization/build/gcc-4.3.2/release/link-static/threading-
 multi>text_wiarchive.o...

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3253>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC