Opened 13 years ago

Closed 13 years ago

#3253 closed Bugs (fixed)

Serialization does not compile on trunk 20090708

Reported by: ramon.casellas@… Owned by: Robert Ramey
Milestone: Boost 1.40.0 Component: serialization
Version: Boost 1.39.0 Severity: Problem
Keywords: Cc:

Description

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...

Change History (1)

comment:1 by Robert Ramey, 13 years ago

Resolution: fixed
Status: newclosed

fixed in trunk

Note: See TracTickets for help on using tickets.