Boost logo

Boost :

Subject: [boost] Why BOOST_HAS_DECLSPEC is not defined under MingW?
From: Artyom (artyomtnk_at_[hidden])
Date: 2009-10-29 05:07:07


Hello,

I've noticed following lines under boost/config/platform/win32.hpp

#if !defined(__GNUC__) && !defined(BOOST_HAS_DECLSPEC)
# define BOOST_HAS_DECLSPEC
#endif

Why? GCC provides support of declspec, Why it is specifically undefined?
It can auto-export symbols but it does not work when static members involved.

Thanks,
   Artyom

      


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