Boost logo

Boost :

Subject: Re: [boost] auto-link with gcc/windows
From: Jürgen Hunold (juergen.hunold_at_[hidden])
Date: 2010-07-05 15:11:01


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).

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold  ! 
* voice: ++49 4257 300       ! Fährstraße 1
* fax  : ++49 4257 300       ! 31609 Balge/Sebbenhausen
* juergen.hunold_at_[hidden]      ! 
-- 
* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        ! www.ivembh.de
* 
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !



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