Opened 14 years ago

Closed 14 years ago

#2133 closed Bugs (invalid)

serialization/gcc-4.3 compile failure

Reported by: tim blechmann <tim@…> Owned by: Robert Ramey
Milestone: Boost 1.36.0 Component: serialization
Version: Boost Release Branch Severity: Problem
Keywords: Cc:

Description

serialization from trunk doesn't compile with gcc-4.3:

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

...failed gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.3/release/threading-multi/text_woarchive.o...
gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.3/release/threading-multi/xml_woarchive.o
In file included from ./boost/archive/detail/oserializer.hpp:41,
                 from ./boost/archive/detail/interface_oarchive.hpp:23,
                 from ./boost/archive/detail/common_oarchive.hpp:20,
                 from ./boost/archive/basic_xml_oarchive.hpp:21,
                 from ./boost/archive/xml_woarchive.hpp:35,
                 from libs/serialization/src/xml_woarchive.cpp:17:
./boost/serialization/is_abstract.hpp:37:1: warning: "BOOST_IS_ABSTRACT" redefined
In file included from ./boost/type_traits/is_enum.hpp:14,
                 from ./boost/serialization/level.hpp:23,
                 from ./boost/archive/basic_archive.hpp:106,
                 from ./boost/archive/detail/basic_oarchive.hpp:25,
                 from ./boost/archive/detail/common_oarchive.hpp:19,
                 from ./boost/archive/basic_xml_oarchive.hpp:21,
                 from ./boost/archive/xml_woarchive.hpp:35,
                 from libs/serialization/src/xml_woarchive.cpp:17:
./boost/type_traits/intrinsics.hpp:144:1: warning: this is the location of the previous definition
In file included from ./boost/archive/detail/interface_oarchive.hpp:19,
                 from ./boost/archive/detail/common_oarchive.hpp:20,
                 from ./boost/archive/basic_xml_oarchive.hpp:21,
                 from ./boost/archive/xml_woarchive.hpp:35,
                 from libs/serialization/src/xml_woarchive.cpp:17:
./boost/cstdint.hpp:85: error: expected constructor, destructor, or type conversion before ‘namespace’

would be great to have this fixed before the 1.36 release ...

Change History (1)

comment:1 by Robert Ramey, 14 years ago

Resolution: invalid
Status: newclosed

./boost/serialization/is_abstract.hpp has been removed in both the trunk and release so this should never occur.

Robert Ramey

Note: See TracTickets for help on using tickets.