Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3934: serialization assertion failure on windows using DLLs
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-02-26 09:15:08
#3934: serialization assertion failure on windows using DLLs
--------------------------------+-------------------------------------------
Reporter: cris@⦠| Owner: ramey
Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: serialization
Version: Boost 1.42.0 | Severity: Regression
Keywords: |
--------------------------------+-------------------------------------------
Comment(by cris@â¦):
I can certainly have a look in UNIX, although my actual program runs fine
there with all versions of boost.
Interestingly (perhaps), I can make my UNIX builds fail with multiple code
instantiated on 1.42 if using gcc -fvisibility=hidden and explicitly only
exporting the same symbols as in my windows build. With 1.39 and the
-fvisibility=hidden flag I get 'unregistered void cast' on UNIX. On 1.40
on Windows with basically the same thing (same exports handled by
dllexport) I get a working program.
To use visibility=hidden to work at all I can put pragmas to enable
default visibility around the boost include macros (export.hpp,
text_oarchive, text_iarchive).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3934#comment:3> 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:02 UTC