Boost C++ Libraries: Ticket #3253: Serialization does not compile on trunk 20090708 https://svn.boost.org/trac10/ticket/3253 <p> Failure to compile </p> <p> OS: debian 5.0 gcc 4.3.2 - fails to compile after today's svn update </p> <p> seems that some typenames are missing </p> <p> e.g. </p> <blockquote> <p> typename oserializer_map&lt;Archive&gt;::iterator </p> </blockquote> <p> thank you </p> <p> 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&lt;Archive&gt;::~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&lt;Archive&gt;::archive_pointer_iserializer(const boost::serialization::extended_type_info&amp;) [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::&lt;unnamed&gt;::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::&lt;unnamed&gt;::iserializer_map::iterator’ if a type is meant ./boost/archive/impl/archive_pointer_iserializer.ipp: In destructor ‘boost::archive::detail::archive_pointer_iserializer&lt;Archive&gt;::~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::&lt;unnamed&gt;::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::&lt;unnamed&gt;::iserializer_map::iterator’ if a type is meant ./boost/archive/impl/archive_pointer_iserializer.ipp: In constructor ‘boost::archive::detail::archive_pointer_iserializer&lt;Archive&gt;::archive_pointer_iserializer(const boost::serialization::extended_type_info&amp;) [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::&lt;unnamed&gt;::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::&lt;unnamed&gt;::iserializer_map::iterator’ if a type is meant ./boost/archive/impl/archive_pointer_iserializer.ipp: In destructor ‘boost::archive::detail::archive_pointer_iserializer&lt;Archive&gt;::~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::&lt;unnamed&gt;::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::&lt;unnamed&gt;::iserializer_map::iterator’ if a type is meant </p> <blockquote> <p> "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" </p> </blockquote> <p> ...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&lt;Archive&gt;::archive_pointer_oserializer(const boost::serialization::extended_type_info&amp;)’: ./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&lt;Archive&gt;::~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&lt;Archive&gt;::archive_pointer_oserializer(const boost::serialization::extended_type_info&amp;) [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::&lt;unnamed&gt;::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::&lt;unnamed&gt;::oserializer_map::iterator’ if a type is meant ./boost/archive/impl/archive_pointer_oserializer.ipp: In destructor ‘boost::archive::detail::archive_pointer_oserializer&lt;Archive&gt;::~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::&lt;unnamed&gt;::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::&lt;unnamed&gt;::oserializer_map::iterator’ if a type is meant </p> <blockquote> <p> "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" </p> </blockquote> <p> ...failed gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.3.2/release/link-static/threading-multi/xml_woarchive.o... ...skipped &lt;pbin.v2/libs/serialization/build/gcc-4.3.2/release/link-static/threading-multi&gt;libboost_wserialization.a(clean) for lack of &lt;pbin.v2/libs/serialization/build/gcc-4.3.2/release/link-static/threading-multi&gt;text_wiarchive.o... </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3253 Trac 1.4.3 Robert Ramey Thu, 09 Jul 2009 15:09:12 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3253#comment:1 https://svn.boost.org/trac10/ticket/3253#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> fixed in trunk </p> Ticket