Subject: Re: [boost] auto-link with gcc/windows
From: Robert Ramey (ramey_at_[hidden])
Date: 2010-07-06 12:36:34
John Maddock wrote:
>> With the last change I made in the serialization library, the only
>> missing symbols are void_upcast and void_downcast. the *.cpp files
>> which defiine these functions to indeed define BOOST_SERIALIZATION_SOURCE
>> so these symbols should be exported. I'm trying go figure out why
>> this is not happening. Including define BOOST_SERIALIZATION_SOURCE in
>> a different file can't be the solution - the fact that it seems to
>> work can only
>> be a hint as to what the problem is. Still thanks for the insight.
> Which compiler/platform is this? I just tried Trunk with
> Mingw-gcc-4.5.0 and everything that should pass did.
Hmmm - I'm looking at the test matrix for RW_Mingw45 and 1 MinGW-32
jc-bell.com as well as
track item #4375 - these are all failing.
It looks to me that there are only a couple of undefined symbols because the
autolink code is being enabled by BOOST_HAS_DECL which is now being used
to enable "visibility". This is likely even more confused as I believe
I've used this
or something like it to trick the compiler/linker into suppressing code
of code not otherwise explicitly referred to.
I see now that this has been in the works for some time and is not something
new. So it would seem that I can move my current trunk over to the release
branch and worry about this later.
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk