[Boost-bugs] [Boost C++ Libraries] #1721: Serialization examples don't compile in trunk for G++ 4.1

Subject: [Boost-bugs] [Boost C++ Libraries] #1721: Serialization examples don't compile in trunk for G++ 4.1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-03-27 04:42:22


#1721: Serialization examples don't compile in trunk for G++ 4.1
-------------------------------------------------------+--------------------
 Reporter: Sohail Somani <boost-trac_at_[hidden]> | Type: Bugs
   Status: new | Milestone: Boost 1.35.0
Component: None | Version: Boost 1.34.1
 Severity: Problem | Keywords:
-------------------------------------------------------+--------------------
 The compile errors:

 gcc.compile.c++
 ../../../bin.v2/libs/serialization/example/demo_fast_archive.test/gcc-4.1.3/debug/demo_fast_archive.o
 ../../../boost/archive/impl/archive_pointer_oserializer.ipp:25: error:
 redefinition of ‘class
 boost::archive::detail::<unnamed>::serializer_map<Archive>’
 ../../../boost/archive/impl/archive_pointer_iserializer.ipp:27: error:
 previous definition of ‘class
 boost::archive::detail::<unnamed>::serializer_map<Archive>’

 **passed**
 ../../../bin.v2/libs/serialization/example/demo_portable_archive.test/gcc-4.1.3/debug/demo_portable_archive.test
 gcc.compile.c++
 ../../../bin.v2/libs/serialization/example/demo_shared_ptr.test/gcc-4.1.3/debug/demo_shared_ptr.o
 demo_shared_ptr.cpp:44: error: extra qualification ‘A::’ on member ‘A’
 demo_shared_ptr.cpp:45: error: extra qualification ‘A::’ on member ‘A’
 demo_shared_ptr.cpp:63: error: extra qualification ‘B::’ on member ‘B’
 demo_shared_ptr.cpp:64: error: extra qualification ‘B::’ on member ‘B’

 The first part of the patch is because there are two definitions of a
 class in the anonymous namespace. The second is just weird, I don't even
 know how that got past before.

 Attaching patch to fix. Think this should be a .35 thing.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1721>
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:49:57 UTC