Re: [Boost-bugs] [Boost C++ Libraries] #4375: [serialization] Build failures on Mingw

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4375: [serialization] Build failures on Mingw
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-25 17:04:55


#4375: [serialization] Build failures on Mingw
---------------------------------------------------+------------------------
  Reporter: rwebb <richard.webb@…> | Owner: ramey
      Type: Bugs | Status: new
 Milestone: Boost 1.44.0 | Component: serialization
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
---------------------------------------------------+------------------------

Comment (by rwebb <richard.webb@…>):

 I suggested the above change because what appeared to be causing the
 failure was that the absence of BOOST_SERIALIZATION_SOURCE in
 shared_ptr_helper.cpp and basic_serializer_map.cpp was resulting in
 BOOST_SERIALIZATION_DECL being set to __declspec(dllimport) when it needs
 to be __declspec(dllexport) for the dll build to work.

 There seems to be something else going on here as well though, as if i run
 the regression tests, i get loads of warnings along the lines of :

 {{{
 gcc.link
 ..\..\..\bin.v2\libs\serialization\test\test_derived_text_archive.test
 \gcc-mingw-4.5.0\debug\test_derived_text_archive.exe
 Info: resolving vtable for boost::archive::archive_exception by linking to
 __imp___ZTVN5boost7archive17archive_exceptionE (auto-
 importc:/mingw450/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe:
 warning: auto-importing has been activated without --enable-auto-import
 specified on the command line.
 This should work unless it involves constant data structures referencing
 symbols from auto-imported DLLs.)
 }}}

 It doesn't seem to cause any problems with the tests, but i don't know how
 auto import works so i can't say anything more about it.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4375#comment:2>
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:03 UTC