Boost logo

Boost :

Subject: Re: [boost] auto-link with gcc/windows
From: Robert Ramey (ramey_at_[hidden])
Date: 2010-07-05 18:07:48


Jürgen Hunold wrote:
> Hi Robert !
>
> On Monday, 5. July 2010 19:35:02 you wrote:
>
>> In my code I use BOOST_HAS_DECLSPEC but I'm having problems with
>> mingw. I'm not sure it has anything to do with this, but it's not
>> at clear to me
>> what the differing meanings are of BOOST_HAS_DECLTYPE and
>> BOOST_HAS_DECLSPEC.
>
> BOOST_HAS_DECLSPEC is the interesting one.
> Please find a patch adding two more "#define
> BOOST_SERIALIZATION_SOURCE" to the sources. This fixed compilation
> for me when using gcc's symbol visibility and might help here as
> mingw uses symbol visibility "under the hood" for
> __declspec(dllimport/-export).

I'm aware of this "fix". I'm very reluctant to just do it because I don't
understand
why it works or should work. So it's almost certain that if I just do this,
It
will come back to torture me some time just after the next version is
released.

Robert Ramey


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk