Subject: Re: [boost] auto-link with gcc/windows
From: Peter Bartlett (pete_at_[hidden])
Date: 2010-07-05 12:40:52


Quoting Robert Ramey <ramey_at_[hidden]>:

> 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.
>
> Robert Ramey

BOOST_HAS_DECLTYPE is to do with the C++0x decltype feature
(http://en.wikipedia.org/wiki/Decltype)

BOOST_HAS_DECLSPEC is to do with symbol exporting and is likely to be
the only relevant thing to your issue.